Lectures‎ > ‎

Week06

Byteplay example.

See attached byteplay_test.py.

Calculator code generation.

See the attached files for a complete code generator for our simple calculator language.


ċ
ast.py
(1k)
Greg Benson,
Feb 28, 2013, 4:36 PM
ċ
byteplay_test.py
(0k)
Greg Benson,
Feb 28, 2013, 4:37 PM
ċ
codegen.py
(3k)
Greg Benson,
Feb 28, 2013, 4:36 PM
ċ
eval.py
(2k)
Greg Benson,
Feb 28, 2013, 4:36 PM
ċ
parser.py
(5k)
Greg Benson,
Feb 28, 2013, 4:36 PM
ċ
scanner.py
(6k)
Greg Benson,
Feb 28, 2013, 4:36 PM
Comments