CTAN update: simplebnf
Datum: 20. Mai 2026 17:18:45 MESZ
Jay Lee submitted an update to the
simplebnf
package.
Version: 1.1.0
License: mit
Summary description: A simple package to format Backus-Naur form (BNF)
Announcement text:
This new version provides 1. full-line comments with `\bnfcomment{}` comamnd; 2. line-break delimiter (defaults to `\\`) for long production alternatives; 3. an updated manual, typeset using LuaLaTeX.
This package is located at https://mirrors.ctan.org/macros/latex/contrib/simplebnf More information is at https://ctan.org/pkg/simplebnf
Thanks for the upload. For the CTAN Team Manfred Lotz 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 .
This new version provides 1. full-line comments with `\bnfcomment{}` comamnd; 2. line-break delimiter (defaults to `\\`) for long production alternatives; 3. an updated manual, typeset using LuaLaTeX.
This package is located at https://mirrors.ctan.org/macros/latex/contrib/simplebnf More information is at https://ctan.org/pkg/simplebnf
Thanks for the upload. For the CTAN Team Manfred Lotz 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..
| Paket | simplebnf |
| Version | 1.1.0 |
| Copyright | 2019–2026 Jay Lee |
| Betreuer | Jay Lee |