Parser-generator lab
Fix and extend an existing implementation of an interpreter that uses a parser-generator.
Goals
The main goals of this lab are to:
- Practice using parser generators.
- Practice extending a language implementation, to add new features.
- Become familiar with running Haskell programs that take command-line arguments.
Resources
- Slides from class: Explains the structure of the lexer- and parser-generator files.
- Alex documentation: Documentation for the lexer-generator tool.
- Happy documentation: Documentation for the parser-generator tool.