SableCC2Hs-0.0.0.2: SableCC2Hs.cabal
Name: SableCC2Hs
Version: 0.0.0.2
Synopsis: Generate a parser (in Haskell) with the SableCC parser generator.
Description:
This package allows one to use parsers that were written for the SableCC
parser generator from Haskell and Prolog.
More specifically it reads an XML file that is generated by SableCC
(version sablecc-3-beta.3.altgen.20041114.zip)
and generates Haskell and Prolog modules with contain the parser tables.
The package also contains examples for Haskell/Prolog parsers that
work with these parser tables and a grammar for
the B specification language (as an example).
(The B-grammar has been written by Fabian Fritz).
We use this tool to build front-ends for the B specification language and
have tested it mainly with the B-grammar.
Nevertheless there are some other SableCC grammars on the Internet
and any feedback and bug-reports for the tool are well-come.
License: BSD3
Category: Parsing
License-File: LICENSE
Author: Marc Fontaine
Maintainer: Marc Fontaine <fontaine@cs.uni-duesseldorf.de>
Cabal-Version: >= 1.10
Build-type: Simple
Tested-With: GHC == 7.0.3
Stability: experimental
Extra-Source-Files:
haskell/*.hs
examples/BParser.scc
examples/BParser.xml
examples/Lift.mch
prolog/parser.pl
prolog/trim_ast.pl
Executable sable2hs
Build-Depends:
base >= 4.0 && < 5.0
,containers >= 0.4 && < 0.5
,array >=0.3 && <0.4
,pretty >=1.0 && <1.1
,loch-th >=0.1 && <0.2
,xml >= 1.3 && <1.4
Default-Language: Haskell2010
Hs-Source-Dirs: src
Main-Is: Main.hs
Other-Modules:
SableCC.XML.ParserDefinitionRaw
SableCC.XML.XML2Parser
SableCC.ParserTypes
SableCC.LexerDefinition
SableCC.ParserDefinition
SableCC.AstDefinition
SableCC.GenerateProlog
SableCC.GenerateHaskell
SableCC.Test.Test
SableCC.Test.Parser
Library
Build-Depends:
base >= 4.0 && < 5.0
,containers >= 0.4 && < 0.5
,array >0.3 && <0.4
Default-Language: Haskell2010
Other-Extensions:
Hs-Source-Dirs: src
Exposed-Modules:
SableCC.ParserTypes