macOS
brew install jflexlocal Homebrew formula metadata
sudo port install jflexMacPorts ports tree · devel/jflex/Portfile · 来源: api.github.com
安装
brew install jflexlocal Homebrew formula metadata
sudo port install jflexMacPorts ports tree · devel/jflex/Portfile · 来源: api.github.com
sudo dnf install jflexFedora Rawhide package metadata · jflex · 来源: dl.fedoraproject.org
nix profile install nixpkgs#jflexnixpkgs package indexes · pkgs/by-name/jf/jflex/package.nix · 来源: api.github.com
sudo zypper install cup-maven-pluginopenSUSE Tumbleweed package metadata · cup-maven-plugin · 来源: download.opensuse.org
概览
Lexical analyzer generator for Java, written in Java
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
jflex | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/jflex-de/jflex
安装元数据
| 软件包键 | brew:jflex |
|---|---|
| 版本 | 1.9.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/jflex |
| 主页 | https://jflex.de/ |
| 仓库 | https://github.com/jflex-de/jflex |
| 上游文档 | https://jflex.de/manual.html |
| 许可证 | BSD-3-Clause |
| 源码归档 | https://github.com/jflex-de/jflex/releases/download/v1.9.1/jflex-1.9.1.tar.gz |
| 依赖 | openjdk |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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 jflex来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.