CTAN Comprehensive TeX Archive Network

CTAN update: simplebnf

Date: May 9, 2022 9:30:00 AM CEST
Jay Lee submitted an update to the simplebnf package. Version number: 0.3.0 2022-05-07 License type: mit Summary description: A simple package to format Backus-Naur form (BNF) Announcement text:
This update adds multiple improvements including: 1. set membership declarations, 2. LHS annotations, 3. optional tabular alignment arguments, 4. single line RHS productions, and 5. optional arguments for parsing breaking / non-breaking productions.
This package is located at https://mirrors.ctan.org/macros/latex/contrib/simplebnf More information is at https://www.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..

Packagesimplebnf
Version1.0.0 2023-11-25
Copyright2019–2023 Jay Lee
MaintainerJay Lee

Announcements

more

Guest Book Sitemap Contact Contact Author