[ANN] BNFC 2.9.4 released
Andreas Abel
abela at chalmers.se
Thu Feb 17 18:28:50 UTC 2022
BNFC 2.9.4 is available at
- https://hackage.haskell.org/package/BNFC-2.9.4
- https://github.com/BNFC/bnfc/releases/tag/v2.9.4
(binaries and changelog)
Feedback welcome, problems at https://github.com/BNFC/bnfc/issues .
The BNF Converter (bnfc) is a wizard generating syntax trees, parser and
printer from a Labelled BNF (LBNF) grammar. It is currently able to
generate Haskell, Agda, C, C++, Java, and OCaml representations.
Supported parser generators: Happy, ocamlyacc, Menhir, ANTLR, CUP, Bison.
More information: http://bnfc.digitalgrammars.com
Changes in 2.9.4:
- LBNF: empty tokens types are now forbidden [#388]
- Agda: support position information via --functor [#405]
- C/C++: use size_t and -Wsign-conversion [#391]
- C++: repair broken --line-numbers [#390], regression in 2.9.2 by [#349]
- Haskell: fix a problem with layout stop words and top-level layout
[#399,#413]
- Haskell: generated test parser can parse several files now [#400]
- Java: use L.valueOf() instead of deprecated new L() for literal
classes L [#402]
- Ocaml: non-terminals in generated parser are now type-annotated [#407]
- Ocaml: sanitize bound variables in define
- Ocaml/Menhir: update parse error mechanism to Menhir 2021/12/30 [#414]
Cheers,
Andreas
--
Andreas Abel <>< Du bist der geliebte Mensch.
Department of Computer Science and Engineering
Chalmers and Gothenburg University, Sweden
andreas.abel at gu.se
http://www.cse.chalmers.se/~abela/
More information about the Libraries
mailing list