Hämta källkodspaketet bnfc:
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.).
|
|
|
| Arkitektur | Paketstorlek | Installerad storlek | Filer |
|---|---|---|---|
| alpha | 1.914,9 kbyte | 11540 kbyte | [filförteckning] |
| amd64 | 576,4 kbyte | 2692 kbyte | [filförteckning] |
| armel | 1.377,8 kbyte | 9672 kbyte | [filförteckning] |
| hppa | 1.924,2 kbyte | 9956 kbyte | [filförteckning] |
| hurd-i386 | 966,6 kbyte | 5900 kbyte | [filförteckning] |
| i386 | 539,3 kbyte | 1948 kbyte | [filförteckning] |
| ia64 | 2.038,3 kbyte | 19820 kbyte | [filförteckning] |
| kfreebsd-i386 | 555,9 kbyte | 2034 kbyte | [filförteckning] |
| m68k (inofficiell anpassning) | 983,6 kbyte | 5904 kbyte | [filförteckning] |
| mips | 2.155,7 kbyte | 14988 kbyte | [filförteckning] |
| mipsel | 2.112,8 kbyte | 14988 kbyte | [filförteckning] |
| powerpc | 1.069,6 kbyte | 7112 kbyte | [filförteckning] |
| s390 | 1.987,6 kbyte | 9652 kbyte | [filförteckning] |
| sparc | 1.248,7 kbyte | 7976 kbyte | [filförteckning] |