Slide 8.2: Operational semantics (cont.) Slide 8.4: Logical inference rules Home |
A model of computation that uses an underlying finite-state automaton but also has an infinite tape to use as memory.The reduction machine operates directly on a program to reduce it to its semantic “value.” For example, given the expression
(3 + 4) * 5
of the reduction machine will reduce it to its numeric value (which is its semantic content) using the following sequence of steps:
(3 + 4) * 5 ⇒ (7) * 5 — 3 and 4 added to get 7 ⇒ 7 * 5 — the parentheses around 7 dropped ⇒ 35 — 7 and 5 multiplied to get 35In general, of course, the semantic content of a program will be more than just a numeric value, but as we will see, the semantic content of a program can be represented by a data value of some structured type, which operational semantic reductions will produce.