FUN is a very simple functional language. The basic entities are:
0
, 1
, 2
, ... ∈N
x0
, x1
, x2
, ... ∈Var
+
, -
, *
, ... ∈Bop
We will use generic names to represent the classes of entities as follows:
n
x
bop
The phrase classes of FUN are:
Phrase class | Generic name | Phrase forms |
---|---|---|
Expressions | e∈Exp | x |
R. Burstall. Language Semantics and Implementation. Course Notes. 1994.
Copyright © 2014 Barry Watson. All rights reserved.