Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
JavaCC
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Infobox software | name = JavaCC | logo = | screenshot = | caption = | developer = Oracle | latest release version = 7.0.10 | latest release date = {{Start date and age|2020|11|23}}<ref>{{cite web|url=https://javacc.github.io/javacc/release-notes.html#javacc-7.0.10|title=MODIFICATIONS IN VERSION 7.0.10 |accessdate=2021-05-14}}</ref> | latest preview version = | latest preview date = | operating system = | platform = [[Java Virtual Machine]] | genre = parser/scanner generator | license = [[BSD license|BSD]] | website = {{URL|javacc.org}} | repo = {{URL|https://github.com/javacc/javacc}}}} '''JavaCC''' ('''Java Compiler Compiler''') is an [[open-source software|open-source]] [[parser generator]] and [[Lexical analysis|lexical analyzer]] generator written in the [[Java (programming language)|Java programming language]].<ref>{{cite web | url=https://www.javaworld.com/article/2076269/build-your-own-languages-with-javacc.html | title=Build your own languages with JavaCC | date=2000-12-29 | last=Enseling|first=Oliver | publisher=[[JavaWorld]] | accessdate=2020-01-02}}</ref> JavaCC is similar to [[yacc]] in that it generates a [[parser]] from a [[formal grammar]] written in [[Extended Backus–Naur form|EBNF]] notation. Unlike yacc, however, JavaCC generates top-down parsers. JavaCC can resolve choices based on the next ''k'' input tokens, and so can handle [[LL parser|LL(''k'')]] grammars automatically; by use of "lookahead specifications", it can also resolve choices requiring unbounded look ahead. 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. JavaCC is licensed under a [[BSD license]].
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)