BSD Ports

devel/lemon 1.0.3.53.4 NetBSD

Simple LALR(1) parser generator

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
f041ebb2a2
License
public-domain
Categories
devel
Package size
57.5 KiB, 166.2 KiB installed

Description

The Lemon program is an LALR(1) parser generator. It takes a context free grammar and converts it into a subroutine that will parse a file using that grammar.

Lemon is similar to the much more famous programs "YACC" and "BISON". But lemon is not compatible with either yacc or bison.

There are several important differences: * Lemon using a different grammar syntax which is less prone to programming errors. * The parser generated by Lemon is both re-entrant and thread-safe. * Lemon includes the concept of a non-terminal destructor, which makes it much easier to write a parser that does not leak memory.

In the other systems

SystemPortVersion
NetBSDdevel/lemon1.0.3.53.4
FreeBSDdevel/lemon3.34
DragonFlydevel/lemon3.34
MidnightBSDdevel/lemon3.34
HardenedBSDdevel/lemon3.34
GhostBSDdevel/lemon3.34

Install

Binary package:

pkgin install lemon

From pkgsrc:

cd /usr/pkgsrc/devel/lemon && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_641.0.3.53.4
NetBSD 10.1 aarch641.0.3.53.2
SmartOS / illumos x86_641.0.3.54.1
macOS 15 arm641.0.3.54.0

Dependencies

Commit history 3

DateCommitCreditsLog message
f041ebb2a2 adam sqlite3: updated to 3.54.1
3.54.1 (2026-10-16): Fix a possible heap-buffer overflow on 32-bit builds. (64-bit builds are not affected by this problem.) Fixes other problems in 3.54.0 reported by users. See the check-in timeline for details.
907887a37a adam sqlite3: updated to 3.54.0
3.54.0 CLI enhancements: CLI prompt strings may contain escape sequences that expand to show state information. The initial CLI prompt is now be initialized the values of the SQLITE_PS1 and SQLITE_PS2 environment variables, if those variables exist. The default CLI prompt has been enhanced to take advantage of the new escape sequences described in the previous. For columnar output modes, the CLI now shows the column name header by default even if the query returns no rows. Use the new diskused() extension to implement the ".diskused" dot-command. The replaces the separate sqlite3_analyzer utility program, which is now deprecated. On unix, the CLI preserves zero bytes when outputing unformatted BLOB values. …
3d1e6729e3 adam sqlite3: updated to 3.53.4
3.53.4 (2026-07-24): Fixes for problems in 3.53.0 (and 3.53.1, 3.53.2, and 3.53.3) mostly coming from AIs. See the check-in timeline for details.