JavaCC - PowerPoint PPT Presentation

About This Presentation
Title:

JavaCC

Description:

JavaCC. Travis Desell. JavaCC and JJTree. JJTree. Converts a .jjt grammar file into ... projects/wwc/software/javacc-3.2/bin/javacc /projects/wwc/software ... – PowerPoint PPT presentation

Number of Views:189
Avg rating:3.0/5.0
Slides: 6
Provided by: csr8
Learn more at: http://www.cs.rpi.edu
Category:
Tags: javacc | travis

less

Transcript and Presenter's Notes

Title: JavaCC


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.
  • ltparser_namegtTreeConstants
  • Contains information for which nodes correspond
    to which non terminals.
Write a Comment
User Comments (0)
About PowerShow.com