macOS
brew install jflexlocal Homebrew formula metadata
sudo port install jflexMacPorts ports tree · devel/jflex/Portfile · source: api.github.com
brew
Lexical analyzer generator for Java, written in Java. Version 1.9.1 via Homebrew; verified from local package data.
install
brew install jflexlocal Homebrew formula metadata
sudo port install jflexMacPorts ports tree · devel/jflex/Portfile · source: api.github.com
sudo apt install jflexDebian stable package indexes · jflex · source: deb.debian.org
sudo dnf install jflexFedora Rawhide package metadata · jflex · source: dl.fedoraproject.org
nix profile install nixpkgs#jflexnixpkgs package indexes · pkgs/by-name/jf/jflex/package.nix · source: api.github.com
sudo zypper install cup-maven-pluginopenSUSE Tumbleweed package metadata · cup-maven-plugin · source: download.opensuse.org
overview
Lexical analyzer generator for Java, written in Java
history
JFlex is a lexical analyzer generator for Java, written in Java. The official manual describes it as a rewrite of JLex, with no shared code with Vern Paxson's C/C++ flex, and the README describes generated lexers as deterministic finite automata that form the first front-end step in many compilers.
JFlex 1.0 was publicly released in May 1998. The project history says it was built with Sun's JDK 1.1, JFlex itself through bootstrapping, and the CUP parser generator.
The project accumulated the usual compiler-tooling milestones over time: SourceForge-era releases, Ant integration, CUP and BYacc/J interoperability, Unicode work, Maven build changes, and a license change from GPL to BSD in the 1.5.0 release. JFlex 1.6.1 moved development, wiki, and issue tracking to GitHub in 2015.
The 1.9.x line continued the post-GitHub release history, with the manual identifying version 1.9.1 as a 2023 manual and release pages tying JFlex and the JFlex Maven plugin to Maven Central-oriented workflows.
JFlex's adoption comes from the durable place of lex-style scanner generators in compiler courses, programming language tools, and Java build systems. The manual includes sections for porting from JLex and lex/flex and for working with CUP, CUP2, BYacc/J, and Jay, which documents its role in the Java parser-generator ecosystem.
Package metadata in the input shows JFlex packaged by Homebrew, Debian, Fedora, MacPorts, Nix, Ubuntu, and related distributions. That breadth reflects a tool old enough to be infrastructure: users may encounter it as a command-line utility, a Maven plugin, or a build dependency hidden inside language tooling.
A JFlex user writes a `.flex` lexical specification containing regular expressions and actions. JFlex generates Java source for a scanner that reads input, matches the regular expressions, and emits actions or tokens; projects commonly wire the generated scanner into CUP-family parsers or build tools such as Maven, Ant, and Bazel.
JFlex is package-nerd significant because it preserves a classic Unix compiler-tool idea in the Java ecosystem. It is simultaneously a small CLI, a Maven-era build component, and a compatibility bridge for JLex and lex/flex users who need generated Java scanners with Unicode and deterministic-automata performance.
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 |
|---|---|---|---|
jflex | 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/jflex-de/jflex
install metadata
| Package key | brew:jflex |
|---|---|
| Version | 1.9.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/jflex |
| Homepage | https://jflex.de/ |
| Repository | https://github.com/jflex-de/jflex |
| Upstream docs | https://jflex.de/manual.html |
| License | BSD-3-Clause |
| Source archive | https://github.com/jflex-de/jflex/releases/download/v1.9.1/jflex-1.9.1.tar.gz |
| Dependencies | openjdk |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | jflex |
| 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.
jflex 1.7.0-3
lexical analyzer generator for Java
sudo apt install jflexjflex
nix profile install nixpkgs#jflexjflex 1.7.0-3
lexical analyzer generator for Java
sudo apt install jflexjflex 1.7.0-50.fc44
Fast Scanner Generator
sudo dnf install jflexcup-maven-plugin 1.9.1-1.4
CUP Maven plugin
sudo zypper install cup-maven-pluginjflex 1.9.1-1.4
Lexical Analyzer Generator for Java
sudo zypper install jflexjflex-javadoc 1.9.1-1.4
API documentation for jflex
sudo zypper install jflex-javadocjflex-maven-plugin 1.9.1-1.4
JFlex Maven Plugin
sudo zypper install jflex-maven-pluginjflex
sudo port install jflexsource 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.