CSE P 501 Au09 Compiler Project
Project Description and Assignments
(Dates for future, not-yet-assigned parts are tentative, but may give some
idea what to expect.)
for homework and project assignments
- MiniJava project
web page; MiniJava grammar
- JFlex lexical analyzer generator and CUP LALR
parser generator. (We suggest using v11a of CUP since that allows Java generic
types in semantic actions.)
- C# Parser Tools from Queensland: scanner
generator, parser generator.
(We have not actually tried these, but they are actively maintained and are
produced by a group with much .net/clr experience, so they look like as good
a bet as any. Use the discussion board to trade hints, work out problems, etc.)
- First edition
book web site, including links to the original JLex/CUP
- The Java
Language Specification from Sun, including a LALR(1) grammar for full
Java. Check here if you're not sure how something should work.
There are several MiniJava test programs on the MiniJava project web site.
Additional test programs may be
Return to CSE P 501 main page