New on CTAN: formal-grammar
The `formal-grammar` package provides macros/environments to typeset formal grammar (BNF). It is comparable, in its output, to the existing `simplebnf` or `backnaur`.
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/formal-grammar The package’s files themselves can be inspected at https://mirrors.ctan.org/macros/latex/contrib/formal-grammar/
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
formal-grammar – Typeset formal grammars
This package provides a new environment and associated commands to typeset BNF grammars. It allows to easily write formal grammars. Its original motivation was to typeset grammars for beamer presentations, therefore, there are macros to emphasize or downplay some parts of the grammar (which is the main novelty compared to other BNF packages).
|Copyright||2021–2022 Martin Vassor|