# Installer lemon avec Homebrew, apt, dnf, MacPorts, Nix, pacman, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de lemon pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:lemon
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install lemon
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install lemon
```

  Preuve: MacPorts ports tree: lang/lemon/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install lemon
```

  Preuve: Debian stable package indexes: lemon from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install lemon
```

  Preuve: Fedora Rawhide package metadata: lemon from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#lemon
```

  Preuve: nixpkgs package indexes: pkgs/by-name/le/lemon/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S lemon
```

  Preuve: Arch Linux sync databases: lemon from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz

- zypper (92%):

```sh
sudo zypper install lemon
```

  Preuve: openSUSE Tumbleweed package metadata: lemon from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Faits du paquet

- **Clé du paquet:** brew:lemon
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/lemon>
- **Version:** 3.53.3
- **Résumé source:** LALR(1) parser generator like yacc or bison
- **Page d'accueil:** <https://www.hwaci.com/sw/lemon/>
- **Dépôt:** <https://www.sqlite.org/src>
- **Docs amont:** <https://www.hwaci.com/sw/lemon>
- **Licence:** blessing
- **Archive source:** <https://www.sqlite.org/2026/sqlite-src-3530300.zip>
- **Dernière mise à jour:** 2026-06-27T14:08:56Z
- **Généré:** 2026-07-08T07:18:31+00:00

## exécutables

- lemon (cli)
- lemon (alias)

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux

## Version et fraîcheur

- page générée: 2026-07-08
- version du gestionnaire: 3.53.3
- gestionnaire mis à jour: 2026-06-27
- données locales: OK
- dépôt amont: https://www.hwaci.com/sw/lemon/
- info: Release/tag comparison is only available for GitHub repositories.
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

- 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.

### Sources

- <https://sqlite.org/lemon.html>
- <https://www.hwaci.com/sw/lemon/>


## Notes de sécurité

Aucun manifest local de gestion des secrets correspondant n'a été trouvé pour lemon. Les métadonnées de paquet Nucleus restent publiées ici afin que la couverture future dispose d'une URL stable.


## Détails de la base source

- **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:** stable

## Autres enregistrements de gestionnaires de paquets

- Debian apt - lemon - 3.46.1-7+deb13u1: normalized package name match | Debian stable package indexes: lemon from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | LALR(1) Parser Generator for C or C++ | https://www.sqlite.org/
- Nix - lemon: normalized package name match | nixpkgs package indexes: pkgs/by-name/le/lemon/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - lemon - 3.45.1-1ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: lemon from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | LALR(1) Parser Generator for C or C++ | https://www.sqlite.org/
- dnf - lemon - 3.53.2-1.fc45: normalized package name match | Fedora Rawhide package metadata: lemon from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | A parser generator | http://www.sqlite.org/
- pacman - lemon - 3.53.2-1: normalized package name match | Arch Linux sync databases: lemon from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz | A parser generator | https://www.sqlite.org/
- zypper - lemon - 3.53.2-1.1: normalized package name match | openSUSE Tumbleweed package metadata: lemon from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | A parser generator | https://www.sqlite.org/
- MacPorts - lemon: normalized package name match | MacPorts ports tree: lang/lemon/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Liens liés

- [Terminal utility packages](https://www.automicvault.com/fr/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/fr/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/fr/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/fr/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [antlr](https://www.automicvault.com/fr/pkg/brew/antlr/) - Shares av.db curated category or tags: cli, developer-tools, parser-generator, parser-generators.
- [bison](https://www.automicvault.com/fr/pkg/brew/bison/) - Shares av.db curated category or tags: cli, developer-tools, parser-generator, parser-generators.
- [goyacc](https://www.automicvault.com/fr/pkg/brew/goyacc/) - Shares av.db curated category or tags: cli, developer-tools, parser-generator, parser-generators.
- [packcc](https://www.automicvault.com/fr/pkg/brew/packcc/) - Shares av.db curated category or tags: cli, developer-tools, parser-generator, parser-generators.
- [byacc](https://www.automicvault.com/fr/pkg/brew/byacc/) - Shares av.db curated category or tags: cli, developer-tools, lalr, parser-generator.
- [bnfc](https://www.automicvault.com/fr/pkg/brew/bnfc/) - Shares av.db curated category or tags: cli, developer-tools, parser-generator.
- [javacc](https://www.automicvault.com/fr/pkg/brew/javacc/) - Shares av.db curated category or tags: cli, developer-tools, parser-generator.
- [kaitai-struct-compiler](https://www.automicvault.com/fr/pkg/brew/kaitai-struct-compiler/) - Shares av.db curated category or tags: cli, developer-tools, parser-generator.

## Combined YAML source

View the package source record on GitHub. [combined/lemon.yml](https://github.com/automic-vault/db/blob/main/combined/lemon.yml)


## Sources

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