diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-02-11 12:30:38 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-02-11 12:30:38 +0000 |
commit | 9284de6ed89198e12fb31e5bb16abb17a330f2b1 (patch) | |
tree | 67c402fa85e4746dd046fca3e75957876ff144b0 /devel/Makefile | |
parent | e9c645ef8a5beefe1da0a825ace62996a85f6c61 (diff) | |
download | ports-9284de6ed89198e12fb31e5bb16abb17a330f2b1.tar.gz ports-9284de6ed89198e12fb31e5bb16abb17a330f2b1.zip |
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 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/
PR: ports/109038
Submitted by: Kai Wang <kaiw27 at gmail.com>
Notes
Notes:
svn path=/head/; revision=184874
Diffstat (limited to 'devel/Makefile')
-rw-r--r-- | devel/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 77af7f5466c0..7e887eb41278 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -96,6 +96,7 @@ SUBDIR += bison2 SUBDIR += bisongen SUBDIR += bnf + SUBDIR += bnfc SUBDIR += boaconstructor SUBDIR += boehm-gc SUBDIR += bonobo |