Menu
Home Explore People Places Arts History Plants & Animals Science Life & Culture Technology
On this page
JavaCC
Compiler compiler

JavaCC (Java Compiler Compiler) is an open-source parser generator and lexical analyzer generator written in the Java programming language.

JavaCC is similar to yacc in that it generates a parser from a formal grammar written in 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(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. The tree builder that accompanies it, JJTree, constructs its trees from the bottom up.

JavaCC is licensed under a BSD license.

We don't have any images related to JavaCC yet.
We don't have any YouTube videos related to JavaCC yet.
We don't have any PDF documents related to JavaCC yet.
We don't have any Books related to JavaCC yet.
We don't have any archived web articles related to JavaCC yet.

History

In 1996, Sun Microsystems released a parser generator called Jack. The developers responsible for Jack created their own company called Metamata and changed the Jack name to JavaCC. Metamata eventually became part of WebGain. After WebGain shut down its operations, JavaCC was moved to its current home.

Uses

Software built using JavaCC includes:

See also

  • Computer programming portal
  • Free and open-source software portal

References

  1. Enseling, Oliver (2000-12-29). "Build your own languages with JavaCC". JavaWorld. Retrieved 2020-01-02. https://www.javaworld.com/article/2076269/build-your-own-languages-with-javacc.html