1 / 5

JavaCC

JavaCC. Travis Desell. JavaCC and JJTree. JJTree Converts a .jjt grammar file into a .jj intermediary file JavaCC Converts a .jj file into the specified parser and/or compiler. JJDoc Converts a .jjt grammar file into an html representation of the grammar. JavaCC Paths.

Download Presentation

JavaCC

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. JavaCC Travis Desell

  2. JavaCC and JJTree • JJTree • Converts a .jjt grammar file into a .jj intermediary file • JavaCC • Converts a .jj file into the specified parser and/or compiler. • JJDoc • Converts a .jjt grammar file into an html representation of the grammar

  3. JavaCC Paths /projects/wwc/software/javacc-3.2/bin/javacc /projects/wwc/software/javacc-3.2/bin/jjtree /projects/wwc/software/javacc-3.2/bin/jjdoc

  4. Relevant Links • https://javacc.dev.java.net/ • http://www.idevelopment.info/data/Programming/java/JavaCC/The_JavaCC_FAQ.htm

  5. Important Files • Token • Represents terminals (numbers, identifiers, punctuation, etc.) • Stored in linked list. • Node/SimpleNode • Represents non-terminals in the grammar. • Stored in a tree. • <parser_name>TreeConstants • Contains information for which nodes correspond to which non terminals.

More Related