Compiler for CSX in SML
- Student: Daniel Phelps (2015).
Designed and built a compiler in Standard ML of New Jersey (SML/NJ)
for the CSX programming language, which is defined and presented
in Crafting a Compiler by Fischer et al, and given as a course project in
CS541 Programming Languages.
Use the SML/NJ compilation manager to construct the compiler out of its parts:
the lexical analyzer, the parser, the code generator, and the glue that invokes
the other parts in order.
The lexical analyzer is written in ml-ulex; the parser in ml-yacc.
- What the student learned
Code and documentation can be found at
- The SML language
- Compiler-construction tools for SML: ml-ulex and ml-yacc
- Technical writing