Automic VaultAutomic Vault

brew

使用 Homebrew, apt, dnf, MacPorts, Nix, pacman, zypper 安装 lemon

查看 lemon 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install lemon

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install lemon

MacPorts ports tree · lang/lemon/Portfile · 来源: api.github.com

Linux

Debian apt已验证 · 92%
sudo apt install lemon

Debian stable package indexes · lemon · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install lemon

Fedora Rawhide package metadata · lemon · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#lemon

nixpkgs package indexes · pkgs/by-name/le/lemon/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S lemon

Arch Linux sync databases · lemon · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install lemon

openSUSE Tumbleweed package metadata · lemon · 来源: download.opensuse.org

概览

软件包摘要

LALR(1) parser generator like yacc or bison

命令和别名

  • lemon

历史

项目历史与用法

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.

时间线

  • 2000s: Lemon became part of the SQLite source tree as the generator for SQLite's SQL parser.
  • 2022: SQLite's Lemon documentation described Lemon as having no standalone source repository and being maintained as files inside the SQLite tree.

Related projects

  • SQLite is the parent project and primary user.
  • yacc and GNU Bison are the older parser-generator family Lemon is commonly compared with.

安全态势

尚未找到受保护工具覆盖

没有找到 lemon 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 8 个平台目标。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
lemoncli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本3.53.3
管理器更新时间2026-06-27
本地数据OK
上游not checked
检测到的最新版本未检测到

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
Pulseupdated
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelemon
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

lemon 3.46.1-7+deb13u1

LALR(1) Parser Generator for C or C++

https://www.sqlite.org/

sudo apt install lemon
  • Section: devel
  • Architecture: amd64
  • Source Package: sqlite3
  • 1 依赖
  • normalized package name match
  • 匹配方式:Lemon
Debian stable package indexes · deb.debian.org · Debian stable package indexes: lemon from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

lemon

nix profile install nixpkgs#lemon
  • normalized package name match
  • 匹配方式:Lemon
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/le/lemon/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

lemon 3.45.1-1ubuntu2

LALR(1) Parser Generator for C or C++

https://www.sqlite.org/

sudo apt install lemon
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: sqlite3
  • 1 依赖
  • normalized package name match
  • 匹配方式:Lemon
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: lemon from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

lemon 3.53.2-1.fc45

A parser generator

http://www.sqlite.org/

sudo dnf install lemon
  • License: blessing
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: sqlite
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Lemon
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: lemon from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

lemon 3.53.2-1

A parser generator

https://www.sqlite.org/

sudo pacman -S lemon
  • License: LicenseRef-Sqlite
  • Architecture: x86_64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Lemon
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: lemon from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz
zypper95%

lemon 3.53.2-1.1

A parser generator

https://www.sqlite.org/

sudo zypper install lemon
  • License: LicenseRef-SUSE-Public-Domain
  • Category: Productivity/Databases/Servers
  • Architecture: x86_64
  • Source Package: sqlite3
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Lemon
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: lemon from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

lemon

sudo port install lemon
  • normalized package name match
  • 匹配方式:Lemon
MacPorts ports tree · api.github.com · MacPorts ports tree: lang/lemon/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment