BNFC 2.9.1
Main new feature:
- Haskell: the
--functor
option now produces position-annotated ASTs [#176,#327]. Thanks @Commelina!
Bug fixes and small improvements:
- Haskell: fix generated
Makefile
and test parser for --glr
mode [#340]
- Haskell(/GADT): generated modules import
Prelude
explicitly, compatible with {-# LANGUAGE NoImplicitPrelude #-}
- Haskell: generated code is warning free [#331]
- Haskell: generated printer more robust wrt. identifier clashes [#337]
- Haskell/C: handle token constructors in
define
expressions [#338]
- Java/ANTLR: removed more superfluous quotation in lexer character sets [#329]
- Ocaml: fix syntax error in generated printer [#330]
- LBNF: more sanity checks [#339]
- Tested with GHC 9.0