Examples: Compiling Little Languages

[   ] .. Index to Examples.
[   ] 6/01 Grammar for arithmetic expressions.
[   ] 6/02 First step: evaluate numbers and terms, output result.
[   ] 6/03 Second step: evaluate multiplication and division.
[   ] 6/04 Immediate evaluation of arithmetic expressions.
[   ] 6/05 First step: evaluate variable names.
[   ] 6/06 Second step: compile numbers and variable names.
[   ] 6/07 Compile arithmetic expressions into JavaScript functions.
[   ] 6/08 Translate arithmetic expressions into postfix notation.
[   ] 6/09 Compile arithmetic expressions into stack machine instructions.
[   ] 6/10 Names for stack machine instructions.
[   ] 6/11 Compile control structures into stack machine instructions.
[   ] 6/12 Compile control structures into JavaScript functions.