1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160
|
Name: BNFC
Version: 2.6.0.3
cabal-version: >= 1.8
build-type: Simple
category: Development
Copyright: (c) Krasimir Angelov, Jean-Philippe Bernardy, Bjorn Bringert, Johan Broberg, Paul Callaghan, Markus Forsberg, Ola Frid, Peter Gammie, Patrik Jansson, Kristofer Johannisson, Antti-Juhani Kaijanaho, Ulf Norell, Michael Pellauer and Aarne Ranta 2002 - 2012. Free software under GNU General Public License (GPL).
License: GPL
License-File: LICENSE
Maintainer: bnfc-dev@googlegroups.com
Homepage: http://bnfc.digitalgrammars.com/
bug-reports: https://github.com/BNFC/bnfc/issues
Synopsis: A compiler front-end generator.
Description:
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.
Extra-source-files: src/BNF.cf
Library
hs-source-dirs: runtime, src
Build-Depends: base>=4.4 && <5, array
exposed-modules:
Algebra.RingUtils
Data.Pair
Data.Matrix.Quad
Data.Matrix.Class
Parsing.Chart
Parsing.TestProgram
Executable bnfc
Build-Depends: base>=4.4 && <5, mtl, directory, array, process, containers, pretty >=1.1 && <1.2, BNFC
Main-is: Main.hs
HS-source-dirs: src src/formats
src/formats/haskell2
src/formats/haskell-gadt
src/formats/xml
src/formats/profile
src/formats/java
src/formats/java1.5
src/formats/cpp
src/formats/c
src/formats/ocaml
src/formats/cpp_stl
src/formats/c-sharp
src/formats/f-sharp
Other-modules:
LexBNF,
ParBNF,
AbsBNF,
PrintBNF,
Utils,
CF,
ErrM,
MultiView,
TypeChecker,
GetCF,
NamedVariables,
OOAbstract,
CFtoLatex,
CFtoXML,
CFtoTxt,
Options,
ToCNF,
-- Haskell
HaskellTop,
RegToAlex,
CFtoTemplate,
CFtoAlex3,
CFtoAlex2,
CFtoAlex,
CFtoHappy,
CFtoPrinter,
CFtoAbstract,
CFtoLayout,
MkErrM,
MkSharedString,
HsOpts,
-- Profile
ProfileTop,
CFtoHappyProfile,
-- Haskell GADT
HaskellTopGADT,
HaskellGADTCommon,
CFtoPrinterGADT,
CFtoTemplateGADT,
CFtoAbstractGADT,
-- O'Caml
OCamlTop,
OCamlUtil,
CFtoOCamlTest,
CFtoOCamlShow,
CFtoOCamlPrinter,
CFtoOCamlTemplate,
CFtoOCamlAbs,
CFtoOCamlYacc,
CFtoOCamlLex,
-- C
CTop,
CFtoCPrinter,
CFtoCSkel,
CFtoBisonC,
CFtoFlexC,
CFtoCAbs,
CFtoCVisitSkel,
-- C++
CPPTop,
RegToFlex,
CFtoFlex,
CFtoBison,
CFtoCPPPrinter,
CFtoCPPAbs,
-- C++ STL
CFtoBisonSTL,
CFtoSTLAbs,
STLUtils,
CFtoCVisitSkelSTL,
CFtoSTLPrinter,
STLTop,
-- C#
CSharpTop,
RegToGPLEX,
CFtoGPLEX,
CSharpUtils,
CFtoCSharpPrinter,
CAbstoCSharpAbs,
CAbstoCSharpAbstractVisitSkeleton,
CAbstoCSharpVisitSkeleton,
CFtoGPPG,
-- Java
JavaTop,
RegToJLex,
CFtoCup,
CFtoVisitSkel,
CFtoJavaSkeleton,
CFtoJavaPrinter,
CFtoJavaAbs,
CFtoJLex,
-- Java 1.5
JavaTop15,
CFtoJavaAbs15,
CFtoAllVisitor,
CFtoFoldVisitor,
CFtoAbstractVisitor,
CFtoComposVisitor,
CFtoVisitSkel15,
CFtoJavaPrinter15,
CFtoJLex15,
CFtoCup15,
-- F-sharp
FSharpTop
|