Commit graph

2 commits

Author SHA1 Message Date
Martin Wilke
bd08ec305a - Fix the permission of bin/bnfc, binary executable should use INSTALL_PROGRAM
- NOPORTDOCS shoule not apply to things in EXAMPLESDIR
- We can use bsd.port.mk in this port

PR:             110852
Submitted by:   Li-Wen Hsu <lwhsu@lwhsu.org>
Approved by:    maintainer
2007-03-27 07:37:57 +00:00
Martin Wilke
9284de6ed8 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>
2007-02-11 12:30:38 +00:00