BNFC: A compiler front-end generator.
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.
This version only works with Alex version < 3, e.g. alex-2.3.5.
Downloads
- BNFC-2.4.2.1.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
Versions [RSS] | 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, 2.7.0.0, 2.7.0.1, 2.7.1, 2.8, 2.8.1, 2.8.2, 2.8.3, 2.8.3.1, 2.8.4, 2.9.0, 2.9.1, 2.9.2, 2.9.3, 2.9.4 (info) |
---|---|
Dependencies | array, base (>=4 && <5), directory, mtl, process [details] |
License | LicenseRef-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). |
Author | |
Maintainer | Markus Forsberg <markus.forsberg@gu.se> Aarne Ranta <aarne@chalmers.se> |
Revised | Revision 2 made by AndreasAbel at 2021-11-10T17:56:44Z |
Category | Development |
Home page | http://www.cse.chalmers.se/research/group/Language-technology/BNFC/ |
Uploaded | by AndreasAbel at 2012-07-17T16:56:44Z |
Distributions | Arch:2.9.4, Debian:2.8.3, FreeBSD:2.8, LTSHaskell:2.9.4, NixOS:2.9.4, Stackage:2.9.4 |
Executables | bnfc |
Downloads | 23587 total (117 in the last 30 days) |
Rating | 2.25 (votes: 2) [estimated by Bayesian average] |
Your Rating | |
Status | Docs not available [build log] All reported builds failed as of 2016-12-24 [all 7 reports] |