Syntax-Directed Translation, Nobo Komagata, 3/12/00, 1/29/01
- Choose an example grammar.
- You may edit the grammar as long as you use the same format (LHS {sem
rule} -> RHS on a single line; different from the shift-reduce examples).
The internal representation of the grammar can be seen on the Java
console.
- The symobls on the RHS may be suffixed with '_' followed by a number.
In terms of reduction, suffixes are ignored. But for translation, they are
distinguished.
- Enter input symbols (terminals). Symbols must be separated by a space. Do not use '$'.
- Press RESET to initialize before starting.