The BNF Converter is a compiler construction tool that generates a compiler front-end and a readable syntax description document from a Labelled BNF grammar. It was originally written to generate Haskell, but it can now also be used for generating Java, C++, and C.
To process Haskell output, you need the Glorious Glasgow Haskell Compiler (virtual package ghc), the Happy parser generator (package happy) and the Alex scanner generator (package alex).
To process Java output, you need a Java compiler and virtual machine, the CUP parser generator (package cup) and the JLex scanner generator (package jlex).
To process C or C++ output, you need a C or C++ compiler, respectively, the Bison parser generator (package bison) and the flex scanner generator (package flex).
To process the generated documents, you need LaTeX (packages tetex-base, tetex-bin, etc.).
Homepage: http://www.cs.chalmers.se/~markus/BNFC/
|
|
|
| Architecture | Package Size | Installed Size | Files |
|---|---|---|---|
| alpha | 1,637.3 kB | 9568 kB | [list of files] |
| amd64 | 545.9 kB | 2612 kB | [list of files] |
| arm | 1,105.3 kB | 7508 kB | [list of files] |
| hppa | 1,643.1 kB | 8576 kB | [list of files] |
| i386 | 515.5 kB | 1916 kB | [list of files] |
| ia64 | 1,595.3 kB | 16812 kB | [list of files] |
| mips | 1,863.8 kB | 11936 kB | [list of files] |
| mipsel | 1,791.1 kB | 12616 kB | [list of files] |
| powerpc | 1,049.0 kB | 7092 kB | [list of files] |
| s390 | 1,722.7 kB | 8520 kB | [list of files] |
| sparc | 1,065.8 kB | 6980 kB | [list of files] |