GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Main page
  • Contents
  • Current events
  • Random article
  • About Wikipedia
  • Contact us
  • Help
  • Learn to edit
  • Community portal
  • Recent changes
  • Upload file
  • Special pages
  • Search
  • Donate

This view

  • Original page
  • New address

GeezerVison is showing en.wikipedia.org — JavaCC - Wikipedia

JavaCC
DeveloperOracle
Stable release
7.0.13 / November 18, 2023 (2023-11-18)[1]
PlatformJava Virtual Machine
Typeparser/scanner generator
LicenseBSD
Websitejavacc.org
Repositorygithub.com/javacc/javacc

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

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.

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:

  • Apache Derby
  • Apache Velocity
  • BeanShell
  • FreeMarker
  • PMD
  • Vaadin
  • Apache Lucene
  • JavaParser

See also

  • ANTLR
  • SableCC
  • Coco/R
  • parboiled

References

  1. ↑ "javacc-7.0.13". Retrieved 2026-09-11.
  2. ↑ Enseling, Oliver (2000-12-29). "Build your own languages with JavaCC". JavaWorld. Retrieved 2020-01-02.

External links

  • Official website
  • Java Compiler Compiler (JavaCC) - The Java Parser Generator
  • JavaCC's New Official Website by April 2017
  • JavaCC Tutorial
  • JavaCC FAQ
  • A JavaCC book - Generating Parsers with JavaCC Archived 2014-03-11 at the Wayback Machine
Retrieved from "https://en.wikipedia.org/w/index.php?title=JavaCC&oldid=1374273360"
Categories:
  • Parser generators
  • Java development tools
  • Free software programmed in Java
  • Software using the BSD license
  • Java (programming language) libraries
Hidden categories:
  • Articles with short description
  • Short description is different from Wikidata
  • Webarchive template wayback links
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.