macOS
brew install lemonlocal Homebrew formula metadata
sudo port install lemonMacPorts ports tree · lang/lemon/Portfile · 来源: api.github.com
安装
brew install lemonlocal Homebrew formula metadata
sudo port install lemonMacPorts ports tree · lang/lemon/Portfile · 来源: api.github.com
sudo dnf install lemonFedora Rawhide package metadata · lemon · 来源: dl.fedoraproject.org
nix profile install nixpkgs#lemonnixpkgs package indexes · pkgs/by-name/le/lemon/package.nix · 来源: api.github.com
sudo pacman -S lemonArch Linux sync databases · lemon · 来源: geo.mirror.pkgbuild.com
sudo zypper install lemonopenSUSE Tumbleweed package metadata · lemon · 来源: download.opensuse.org
概览
LALR(1) parser generator like yacc or bison
历史
Lemon is an LALR(1) parser generator in the SQLite orbit: a yacc-like tool for generating C parsers, but with a deliberately different grammar format and a reentrant, thread-safe parser model.
The project is documented by Hwaci and SQLite as a small code-generation utility rather than a standalone source repository. SQLite documents Lemon as a set of files kept inside the SQLite source tree, including lemon.c for the generator, lempar.c for the parser template, and lemon.html for detailed documentation.
Lemon evolved as a tool shaped by SQLite's own parser needs. SQLite's Lemon page notes that keeping the generator inside the SQLite project allowed the tool to gain SQLite-specific features, such as fallback tokens for SQL keywords and changes aimed at efficient parser generation.
Its most important adoption path is SQLite itself. SQLite uses Lemon to generate the main SQL parser from parse.y, and also uses it for FTS5 query-pattern parsing from fts5parse.y.
Outside SQLite, Lemon is attractive to C projects that want a compact parser generator with generated parsers that avoid yacc's global-state style.
Users write a context-free grammar and run lemon to emit C parser code. Compared with yacc and bison, Lemon uses different grammar syntax, expects the tokenizer to call the parser, and emphasizes reentrant and thread-safe generated parsers.
Lemon is a package-nerd favorite because it is a small, old-school build-time tool hidden inside one of the most widely deployed C projects. Installing it as a separate package gives developers access to SQLite's parser generator without vendoring the SQLite source tree.
安全态势
没有找到 lemon 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
lemon | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://www.hwaci.com/sw/lemon/
安装元数据
| 软件包键 | brew:lemon |
|---|---|
| 版本 | 3.53.3 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/lemon |
| 主页 | https://www.hwaci.com/sw/lemon/ |
| 仓库 | https://www.sqlite.org/src |
| 上游文档 | https://www.hwaci.com/sw/lemon |
| 许可证 | blessing |
| 源码归档 | https://www.sqlite.org/2026/sqlite-src-3530300.zip |
| 最后更新 | 2026-06-27T14:08:56Z |
| Pulse | updated |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | lemon |
| 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 软件包链接分开显示。
lemon 3.46.1-7+deb13u1
LALR(1) Parser Generator for C or C++
sudo apt install lemonlemon
nix profile install nixpkgs#lemonlemon 3.45.1-1ubuntu2
LALR(1) Parser Generator for C or C++
sudo apt install lemonlemon 3.53.2-1.fc45
A parser generator
sudo dnf install lemonlemon 3.53.2-1
A parser generator
sudo pacman -S lemonlemon 3.53.2-1.1
A parser generator
sudo zypper install lemonlemon
sudo port install lemon来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.