The BNFC package
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 HaskellC++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 HaskellJavaC++/C module, a Latex file containing a readable specification of the language.
Properties
| Versions | 2.4.1.1, 2.4.1.2, 2.4.2.0, 2.4.2.1, 2.5.0, 2.6.0.0, 2.6.0.1, 2.6.0.2, 2.6.0.3 |
|---|---|
| Dependencies | array, base (4.*), directory, haskell98, mtl, process |
| License | GPL |
| Copyright | (c) Krasimir Angelov, Bjorn Bringert, Johan Broberg, Paul Callaghan, Markus Forsberg, Ola Frid, Peter Gammie, Patrik Jansson, Kristofer Johannisson, Antti-Juhani Kaijanaho, Ulf Norell, Michael Pellauer and Aarne Ranta 2002 - 2010. Free software under GNU General Public License (GPL). |
| Maintainer | Markus Forsberg <markus.forsberg@gu.se> Aarne Ranta <aarne@chalmers.se> |
| Category | Development |
| Home page | http://www.cse.chalmers.se/research/group/Language-technology/BNFC/ |
| Executables | bnfc |
| Upload date | Sat Sep 11 11:28:06 UTC 2010 |
| Uploaded by | MarkusForsberg |
| Distributions | NixOS: 2.6.0.3, Debian: 2.6.0.3, FreeBSD: 2.6.0.3 |
Downloads
- BNFC-2.4.1.2.tar.gz (Cabal source package)
- package description (included in the package)