ebnf – Simple package for EBNF productions
The package defines a list environment, in which \item[LHS] produces output <LHS> ::=; macros are also provided for the right-hand side of productions.
Maybe you are interested in the following packages as well.
- latex-bnf: LaTeX macros for typing BNF specifications
- objectz: Macros for typesetting Object Z
- simplebnf: A simple package to format Backus-Naur form (BNF)
- vdmlisting: Typesetting VDM in ASCII syntax