Skip to main content

JavaCC [tm]: Documentation Index

By following the links from this page you should be able to obtain all necessary documentation on JavaCC [tm].

If you have further questions, please do not hesitate to contact us. We recommend the following step-by-step process to learning JavaCC:

  • Go through the simple examples that are available as part of the Java Compiler Compiler [tm] release. This is located under the examples directory in a directory called SimpleExamples. Read the file README in this directory for complete instructions.
  • Go through the tree building examples (that use JJTree) that are also available as part of the JavaCC release. This is located under the examples directory in a directory called JJTreeExamples. Read the file README in this directory for complete instructions.
  • Study the description of the JavaCC grammar file. This provides the complete syntax of the grammar file along with a detailed description of these constructs. There are also many examples in the grammar repository.
  • Click here to see the document that describes the command line input syntax.
  • The JavaCC API routines are a bunch of classes, methods, and variables which may be accessed from user code (typically from actions - the java_block in the syntax).
  • Click here to get to the JJTree documentation.
  • Click here to get to the JJDoc documentation.
  • Detailed JavaCC documentation is organized as a set of minitutorials, each on a separate topic. The following minitutorials are currently available:
 
 
Close
loading
Please Confirm
Close