9284de6ed8
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>
27 lines
1.1 KiB
Text
27 lines
1.1 KiB
Text
bin/bnfc
|
|
%%PORTDOCS%%%%DOCSDIR%%/LBNF-report.tex
|
|
%%PORTDOCS%%%%EXAMPLESDIR%%/C4.cf
|
|
%%PORTDOCS%%%%EXAMPLESDIR%%/JavaletteLight.cf
|
|
%%PORTDOCS%%%%EXAMPLESDIR%%/OCL.cf
|
|
%%PORTDOCS%%%%EXAMPLESDIR%%/Prolog.cf
|
|
%%PORTDOCS%%%%EXAMPLESDIR%%/fstStudio.cf
|
|
%%PORTDOCS%%%%EXAMPLESDIR%%/haskell-core/AbsCore.hcr
|
|
%%PORTDOCS%%%%EXAMPLESDIR%%/haskell-core/Core.cf
|
|
%%PORTDOCS%%%%EXAMPLESDIR%%/haskell-core/Hello.hcr
|
|
%%PORTDOCS%%%%EXAMPLESDIR%%/haskell-core/ParCore.hcr
|
|
%%PORTDOCS%%%%EXAMPLESDIR%%/haskell-core/README
|
|
%%PORTDOCS%%%%EXAMPLESDIR%%/haskell-core/TopCore.hs
|
|
%%PORTDOCS%%%%EXAMPLESDIR%%/haskell-core/notes.txt
|
|
%%PORTDOCS%%%%EXAMPLESDIR%%/koe.jll
|
|
%%PORTDOCS%%%%EXAMPLESDIR%%/koe2.c
|
|
%%PORTDOCS%%%%EXAMPLESDIR%%/multi/Arithm.cf
|
|
%%PORTDOCS%%%%EXAMPLESDIR%%/multi/TestArithm.hs
|
|
%%PORTDOCS%%%%EXAMPLESDIR%%/multi/types/Types.cf
|
|
%%PORTDOCS%%%%EXAMPLESDIR%%/multi/types/ex.old
|
|
%%PORTDOCS%%%%EXAMPLESDIR%%/prolog.pl
|
|
%%PORTDOCS%%%%EXAMPLESDIR%%/small.pl
|
|
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/multi/types
|
|
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/multi
|
|
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/haskell-core
|
|
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
|
|
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|