Nothing Special   »   [go: up one dir, main page]

Skip to content

v2.8.2

Compare
Choose a tag to compare
@andreasabel andreasabel released this 04 Nov 22:58
· 823 commits to master since this release

Main new feature:

  • Java: An experimental ANTLR4 backend [#155]

Backend-independent features:

  • GHC 8.4 compatibility [#227,#236]
  • bnfc now puts current timestamp on all created files, even unchanged ones [#219]
  • bnfc is now more accepting about border-line terminals [#149]
  • Improved error messages [#144] in particular on undefined categories [#151]

C and C++ backends:

  • C: Emit correct function prototypes [#185]
  • C++: Fix buffer overrun in pretty printer [#242]
  • C++: Fix regression introduced in 2.8 in Skeleton.H [#164]
  • C++: Replace %name-prefix with %define api.prefix in bison files [#181]
  • C++: Fix a bug that appeared if you had a category named "List"
  • C, C++: Add usage output to the test program [#141]
  • C, C++: Fix a bug in the parser file when using -p [#172]
  • C, C++, OCaml, Java: Accept ' or " as comment delimiters [#146]

Haskell backend:

  • Generated code mostly hlint-warning free
  • Small fixes [#166,#170,#222]

Other backends:

  • Java: Add support for passing line numbers to parser [#217,#224,#226]
  • OCaml: Reserved symbols now have a higher precedence than predefined tokens as in Haskell

Further:

Thanks to the many contributers to this version!