Skip to content

Releases: BNFC/bnfc

v2.9.6.2

28 Jan 21:44

Choose a tag to compare

Changelog

  • C: fix type of lex_destroy
    [#513]
  • C++: fixing 2 regressions introduced in 2.9.2
    • parse_error exception not thrown
      [#493]
    • entrypoint for file and string parsing should have same name (overloaded function)
      [#524]
  • txt2tags: remove extra closing bracket in String literal description in Doc.txt
    [#511]

Builds with GHC versions:

  • with cabal, GHC 8.0 - 9.12
  • with stack, GHC 8.4 - 9.12

What's Changed (auto-generated)

New Contributors

Full Changelog: v2.9.6.1...v2.9.6.2

v2.9.5.1

28 Jan 21:42

Choose a tag to compare

  • Cabal 3.12 compatibility: remove generated Lex.hs and Par.hs from source tarball
  • Build tested with GHC 8.0 - 9.12.2

Full Changelog: v2.9.5...v2.9.5.1

v2.9.4.2

28 Jan 16:27

Choose a tag to compare

  • Cabal 3.12 compatibility: remove generated Lex.hs and Par.hs from source tarball
  • Build tested with GHC 8.0 - 9.12.2

Full Changelog: v2.9.4.1...v2.9.4.2

v2.9.3.1

28 Jan 10:16

Choose a tag to compare

  • Cabal 3.12 compatibility: remove generated Lex.hs and Par.hs from source tarball
  • Fix build with mtl-2.3
  • Build tested with GHC 8.0 - 9.12.2

Full Changelog: v2.9.3...v2.9.3.1

v2.9.2.1

26 Jan 18:43

Choose a tag to compare

  • Cabal 3.12 compatibility: remove generated Lex.hs and Par.hs from source tarball
  • Build tested with GHC 7.10.3 - 9.12.2

Full Changelog: v2.9.2...v2.9.2.1

v2.9.0.1

26 Jan 19:54

Choose a tag to compare

  • Cabal 3.12 compatibility: remove generated Lex.hs and Par.hs from source tarball
  • Build tested with GHC 7.10.3 - 9.12.2

Full Changelog: v2.9.0...v2.9.0.1

v2.9.1.1

25 Jan 22:26

Choose a tag to compare

  • Cabal 3.12 compatibility: remove generated Lex.hs and Par.hs from source tarball
  • Build tested with GHC 7.10.3 - 9.12.2

Full Changelog: v2.9.1...v2.9.1.1

v2.9.6.1

13 Aug 22:35

Choose a tag to compare

Changelog for 2.9.6.1

  • Haskell: restore LANGUAGE DeriveDataTypeable in generated Abs.hs;
    fixes regression in 2.9.6 [#507]

Builds with GHC versions:

  • with cabal, GHC 8.0 - 9.12
  • with stack, GHC 8.4 - 9.12

What's Changed

New Contributors

Full Changelog: v2.9.6...v2.9.6.1

v2.9.6

10 Aug 18:35

Choose a tag to compare

Changelog for BNFC 2.9.6

  • C: preserve case in constructors (union): e.g. label EInt now is union member eInt_ rather than eint_
    [#479]
  • Haskell: lex ASCII 222 as upper rather than lower case letter
    [#497]
  • Haskell: no longer derive Typeable (obsolete since GHC 7.10)
    [#503]
  • Haskell: drop support for GHC 7, generated code needs at least GHC 8.0

Builds with GHC versions:

  • with cabal, GHC 8.0 - 9.12
  • with stack, GHC 8.4 - 9.12

What's Changed (auto-generated)

New Contributors

Full Changelog: v2.9.5...v2.9.6

v2.9.5

26 Jul 21:00

Choose a tag to compare

Fixes

  • C/C++/Java: escape newline etc. when printing String and Char literals [#449]
  • Java/ANTLR: unescape String and Char literals in parser (needs Java β‰₯ 15) [#451]
  • Java/ANTLR: fix case problem with language names like C [#455]
  • Java with line numbers: compatibility with jflex β‰₯ 1.8 [#453]
  • Haskell/GADT: generated ComposOp.hs no longer needs mtl library [#438]
  • Ocaml: fixed a crash in printer with unbalanced } [#439]
  • Ocaml: lex escape sequences in Char [#452]
  • Ocaml: removed superfluous let rec in the printers for token categories

Tested GHC versions:

  • with cabal, GHC 7.10 - 9.6
  • with stack, GHC 8.2 - 9.6

What's Changed (autogenerated from PRs)

New Contributors

Full Changelog: v2.9.4.1...v2.9.5