This site is designed for CS544 Compiler Construction. For more information please contact Professor Karen Lemone
The Java Compiler Compiler (JavaCC) is a compiler toolkit that allows people to develop compiler front ends quickly. We can use JavaCC as the lexical analyzer (scanner) generator, parser generator, and semantic analyzer generator (generating the abstract syntex tree).
JavaCC is completely written in Java.
It generates recursive descent (top-down) parsers and allows you to specify
both lexical and grammar specifications in your input grammar. In terms of syntactic
and semantic lookahead, it generates an LL(1) parser with specific portions
LL(k) to resolve things like shift-shift conflicts. The input grammar may be in extended BNF notation.
You can download JavaCC at
www.webgain.com/download
You can find the instructions for installing Java and JavaCC at:
http://www.cs.wpi.edu/~cs536/s01/notes/lec01/examples/instructions.txt
You should be able to obtain all necessary documentation on JavaCC
in the following links:
http://www-ctp.di.fct.unl.pt/javacc/
http://www.webgain.com/products/java_cc/documentation.html