macOS
brew install javacclocal Homebrew formula metadata
sudo port install javaccMacPorts ports tree · java/javacc/Portfile · source: api.github.com
brew
Parser generator for use with Java applications. Version 7.0.13 via Homebrew; verified 2026-06-22.
install
brew install javacclocal Homebrew formula metadata
sudo port install javaccMacPorts ports tree · java/javacc/Portfile · source: api.github.com
sudo apt install javaccDebian stable package indexes · javacc · source: deb.debian.org
sudo dnf install javaccFedora Rawhide package metadata · javacc · source: dl.fedoraproject.org
nix profile install nixpkgs#javaccnixpkgs package indexes · pkgs/by-name/ja/javacc/package.nix · source: api.github.com
sudo zypper install javaccopenSUSE Tumbleweed package metadata · javacc · source: download.opensuse.org
overview
Parser generator for use with Java applications
history
JavaCC, the Java Compiler Compiler, is a parser generator and lexical-analyzer generator for Java applications. It reads grammar specifications and emits recursive-descent parsers, with companion tools such as JJTree for syntax trees and JJDoc for grammar documentation.
The JavaCC repository says the project was originally developed at Sun Microsystems by Sreeni Viswanadha and Sriram Sankar. The long-running version 7 repository represents the classic Java-focused line, while the version 8 work separates the parser core from language generators and adds C++ and C# generator targets.
The project documentation positions JavaCC as a top-down parser generator rather than a yacc-style bottom-up generator. Its generated parsers are pure Java and do not require JavaCC at runtime, a design choice that helped it fit naturally into Java build and distribution workflows.
The JavaCC README describes an estimated user base above 1,000 users and more than 100,000 downloads, and lists production users such as Apache ActiveMQ, Avro, Calcite, Camel, Jena, Lucene, Tomcat, ZooKeeper, and JavaParser. The package metadata in the input shows distribution through Homebrew, Debian/Ubuntu, Fedora, MacPorts, Nix, and openSUSE.
Developers write .jj or .jjt grammar files, run javacc or jjtree, and compile the generated Java sources into their application. The tool supports EBNF constructs, LL(k) lookahead, lexical states, Unicode-aware lexical specs, debug options, and a documentation generator for grammars.
JavaCC is a classic compiler-construction package: small on the command line, large in influence. It appears in source trees as generated parser code, in build systems as a grammar-generation step, and in package managers as a standalone toolchain dependency for projects that prefer Java-native parser generation over ANTLR or yacc-family tools.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
javacc | cli | global executable | |
jjdoc | cli | global executable | |
jjtree | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/javacc/javacc
install metadata
| Package key | brew:javacc |
|---|---|
| Version | 7.0.13 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/javacc |
| Homepage | https://javacc.github.io/javacc/ |
| Repository | https://github.com/javacc/javacc |
| Upstream docs | https://javacc.github.io/javacc/documentation |
| License | BSD-3-Clause |
| Source archive | https://github.com/javacc/javacc/archive/refs/tags/javacc-7.0.13.tar.gz |
| Last updated | 2026-06-22T14:03:48-07:00 |
| Pulse | updated |
| Dependencies | openjdk |
| Build dependencies | ant |
| Bottle | available (on arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | javacc |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
javacc 7.0.13-1
Parser generator for use with Java
sudo apt install javaccjavacc-doc 7.0.13-1
Documentation for the JavaCC Parser Generator
sudo apt install javacc-docjavacc
nix profile install nixpkgs#javaccjavacc 7.0.12-1
Parser generator for use with Java
sudo apt install javaccjavacc-doc 7.0.12-1
Documentation for the JavaCC Parser Generator
sudo apt install javacc-docjavacc 7.0.13-10.fc44
A parser/scanner generator for java
sudo dnf install javaccjavacc-demo 7.0.13-10.fc44
Examples for javacc
sudo dnf install javacc-demojavacc-manual 7.0.13-10.fc44
Manual for javacc
sudo dnf install javacc-manualjavacc 7.0.13-2.7
A Parser and Scanner Generator for Java
sudo zypper install javaccjavacc-demo 7.0.13-2.7
Examples for javacc
sudo zypper install javacc-demojavacc-javadoc 7.0.13-2.7
Javadoc for javacc
sudo zypper install javacc-javadocjavacc-manual 7.0.13-2.7
Manual for javacc
sudo zypper install javacc-manualjavacc
sudo port install javaccsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.