Content deleted Content added
P.Y.Python (talk | contribs) |
No edit summary |
||
Line 13:
| genre = parser/scanner generator
| license = [[BSD license|BSD]]
| website = {{url|http://java.net/projects/javacc}}<br>{{url|http://javacc.java.net/}}
}}
'''JavaCC''' (Java Compiler Compiler) is an [[open source]] [[parser generator]] and [[Lexical_analysis|lexical analyzer]] generator for the [[Java (programming language)|Java programming language]]. JavaCC is similar to [[yacc]] in that it generates a [[parser]] from a [[formal grammar]] written in [[Extended Backus-Naur form|EBNF]] notation, except the output is Java source code. Unlike yacc, however, JavaCC generates top-down parsers, which limits it to the [[LL parser|LL(k)]] class of grammars (in particular, [[left recursion]] cannot be used). JavaCC also generates lexical analyzers in a fashion similar to [[Lex_(software)|lex]]. The tree builder that accompanies it, JJTree, constructs its trees from the bottom up.
Line 23:
== Where is it used? ==
Here is a non-comprehensive list of software built using JavaCC:
Line 40 ⟶ 39:
==External links==
*
*[
<!-- *[http://replay.waybackmachine.org/20080924103934/https://javacc.dev.java.net/ A working snapshot of the old official website] - Snapshot archived in 2008 by Internet Archives. Includes more useful content than the current state of the new site. -->
*[http://www.engr.mun.ca/~theo/JavaCC-Tutorial/ JavaCC Tutorial]
*[http://www.engr.mun.ca/~theo/JavaCC-FAQ/ JavaCC FAQ]
|