http://en.wikipedia.org/wiki/JavaCC
http://www.engr.mun.ca/~theo/JavaCC-Tutorial/
http://www.engr.mun.ca/~theo/JavaCC-FAQ/
JavaCC (Java Compiler Compiler) is an open source parser generator for the Java programming language. JavaCC is similar to Yacc in that it generates a parser for a formal grammar provided in EBNF notation, except the output is Java source code. Unlike Yacc, however, JavaCC generates top-down parsers, which limits it to the LL(k) class of grammars (in particular, left recursion cannot be used). The tree builder that accompanies it, JJTree, constructs its trees from the bottom up.
JavaCC is licensed under a BSD license.
No comments:
Post a Comment