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 can also be used for generating Java, C, C++, C#, Ocaml and XML.
Given a Labelled BNF grammar the tool produces: an abstract syntax as a Haskell, C, C++, C#, Ocaml 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, Bison, or Antlr parser generator file, a pretty-printer as a Haskell, Java, C, C++, C#, or Ocaml module, an XML representation, a Latex file containing a readable specification of the language.
Downloads
- BNFC-2.8.2.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'.
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 2.4.1.1, 2.4.1.2, 2.4.2.0, 2.4.2.1, 2.5.0, 2.5.0.1, 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.0.2, 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, 2.9.4.1, 2.9.5 (info) |
---|---|
Change log | changelog |
Dependencies | array, base (>=4.6 && <4.13), containers, deepseq, directory, filepath, mtl (<2.3), pretty (>=1.1 && <1.2), process [details] |
Tested with | ghc ==7.6.3, ghc ==7.8.4, ghc ==7.10.3, ghc ==8.0.2, ghc ==8.2.2, ghc ==8.4.4 |
License | GPL-2.0-only |
Copyright | (c) Andreas Abel, Kyle Butt, Jonas Almström Duregård, Krasimir Angelov, Jean-Philippe Bernardy, Bjorn Bringert, Johan Broberg, Paul Callaghan, Grégoire Détrez, Markus Forsberg, Ola Frid, Peter Gammie, Thomas Hallgren, Pascal Hof, Patrik Jansson, Kristofer Johannisson, Antti-Juhani Kaijanaho, Andreas Lööw, Kent Mein, Ulf Norell, Gabrielle Paganelli, Michael Pellauer and Aarne Ranta 2002 - 2018. Free software under GNU General Public License (GPL). |
Author | |
Maintainer | bnfc-dev@googlegroups.com |
Revised | Revision 2 made by AndreasAbel at 2022-11-04T08:40:46Z |
Category | Development |
Home page | http://bnfc.digitalgrammars.com/ |
Bug tracker | https://github.com/BNFC/bnfc/issues |
Source repo | head: git clone https://github.com/BNFC/bnfc.git(source) |
Uploaded | by AndreasAbel at 2018-11-04T22:57:20Z |
Distributions | Arch:2.9.5, Debian:2.8.3, FreeBSD:2.8, LTSHaskell:2.9.5, NixOS:2.9.5, Stackage:2.9.5 |
Reverse Dependencies | 2 direct, 0 indirect [details] |
Executables | bnfc |
Downloads | 27184 total (34 in the last 30 days) |
Rating | 2.25 (votes: 2) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2018-11-04 [all 1 reports] |