Package Info

BNFC


A compiler front-end generator


Development/Libraries/Haskell

The BNF Converter is a compiler construction tool generating a compiler front-end from a Labelled BNF grammar. It was originally written to generate Haskell, but starting from Version 2.0, it can also be used for generating Java, C++, and C.

Given a Labelled BNF grammar the tool produces: an abstract syntax as a Haskell/C++/C module or Java directory, a case skeleton for the abstract syntax in the same language, an Alex, JLex, or Flex lexer generator file, a Happy, CUP, or Bison parser generator file, a pretty-printer as a Haskell/Java/C++/C module, a Latex file containing a readable specification of the language.


License: GPL-2.0+
URL: https://hackage.haskell.org/package/BNFC

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
2.8.1-bp150.2.4 info GA Release 2018-08-01 15
  • AArch64
  • BNFC
  • ghc-BNFC
  • ghc-BNFC-devel
2.8.1-bp150.2.7 info GA Release 2018-07-31 15
  • ppc64le
  • BNFC
  • ghc-BNFC
  • ghc-BNFC-devel
2.8.1-bp150.2.8 info GA Release 2018-07-30 15
  • x86-64
  • BNFC
  • ghc-BNFC
  • ghc-BNFC-devel