CTAN Comprehensive TeX Archive Network

CTAN update: simplebnf

Date: August 11, 2022 9:09:19 AM CEST
Jay Lee submitted an update to the simplebnf package. Version number: 0.3.1 2022-05-08 License type: mit Summary description: A simple package to format Backus-Naur form (BNF) Announcement text:
This update adds multiple improvements including: 1. Customizable commands 2. Fix expansion order problems 3. Replace variables with commands
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 Erik Braun
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.1.0
Copyright2019–2026 Jay Lee
MaintainerJay Lee

Announcements

more

Guest Book Sitemap Contact Contact Author