CTAN Comprehensive TeX Archive Network

CTAN update: simplebnf

Date: October 12, 2026 8:40:11 AM CEST
Jay Lee submitted an update to the simplebnf package. Version: 1.3.0 2026-09-20 License: mit Summary description: A simple package to format Backus-Naur form (BNF) Announcement text:
This new version provides 1. support LHS only productions, 2. documentation updates,la and 3. various bug fixes.
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/simplebnf The package’s files themselves can be inspected at https://mirrors.ctan.org/macros/latex/contrib/simplebnf/
Thanks for the upload. For the CTAN Team Petra Rübe-Pugliese
CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs

Simplebnf – A simple package to format Backus-Naur form (BNF)

This package provides a simple way for typesetting grammars in Backus-Naur form (BNF). The included bnf environment parses BNF expressions (possibly annotated), so users can write readable BNF expressions in their documents. It features a flexible configuration system, allowing for the customization of the domain-specific language (DSL) used in typesetting the grammar. Additionally, the package comes with sensible defaults.

The package requires expl3, xparse, mathtools, and tabularray..

PackageSimplebnf
Version1.3.0 2026-09-20
Copyright2019–2026 Jay Lee
MaintainerJay Lee

Announcements

more

Guest Book Sitemap Contact Contact Author