CSE P 501 Au05 Compiler Project
Project Description and Assignments
Resources
- Textbook
web site
- MiniJava
Project page, including software links. This link is provided
here, since everyone will discover it anyway, but it gives away an
awful lot of information that would be well worth thinking about
before you
use these pages to check your ideas.
- First edition
book web site, including links to the JLex/CUP scanner/parser generator.
The JLex page contains a link to JFlex.
- 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. This is
a link to the second edition of the specification, which covers Java 1.3,
i.e., Java without generics and all the other goodies added in Java 5.
Since MiniJava includes none of these newer features, this edition of the
specification is probably the appropriate one if you want to check something.
Test Programs
Here are some test programs from the previous
version of CSE P 501. These are not legal MiniJava (yet!) but could give you
some ideas for how to test your compiler, particularly the code generator.
We'll try to get legal MiniJava equivalents for some of them on the web soon,
but this might be of some use as is. If you convert any of these to MiniJava
or have additional programs to contribute, please send them to one of the instructors
or the mailing list and we'll put them on the web site.
Also, remember that there are several MiniJava test programs on the textbook
web site (see above)
Project Directories
Details about project directories, where you can store CVS archives or anything
else related to the course will be provided here later.
Return to CSE P 501 main page