summaryrefslogtreecommitdiff
path: root/devel/hs-BNFC/pkg-descr
blob: 6f9ec8f2a61adc94ed22bf9cdb366646d4eab131 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
The BNF Converter is a compiler construction tool generating a
compiler front-end from a Labeled 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 Labeled BNF grammar the tool produces:

  * an abstract syntax as a Haskell/C++/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 Haskell/Java/C++/C module
  * a Latex file containing a readable specification of the language

WWW:	http://www.cs.chalmers.se/~markus/BNFC/