| Hints and feedback |
| abstract syntax | SML | |
|---|---|---|
| e.g. expressions |
Exp ::= identifier
Uopr ::= - | not Bopr ::= + | - | * | / | = | <> | <= | >= | < > | and | or |
datatype Exp = identifier
Choose appropriate names for value constructors and maybe add extra components, e.g. the string of an identifier; e.g., see [here]. |
| WFFs |
WFF ::= proposition Uopr ::= not Bopr ::= and | or | => | a2, #1 |