SableCC2Hs: Generate a parser (in Haskell) with the SableCC parser generator.
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.
Downloads
- SableCC2Hs-0.0.0.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.0.0.1, 0.0.0.2, 0.0.1.0 |
---|---|
Dependencies | array (>0.3 && <0.4), base (>=4.0 && <5.0), containers (>=0.4 && <0.5), loch-th (>=0.1 && <0.2), pretty (>=1.0 && <1.1), xml (>=1.3 && <1.4) [details] |
Tested with | ghc ==7.0.3 |
License | BSD-3-Clause |
Author | Marc Fontaine |
Maintainer | Marc Fontaine <fontaine@cs.uni-duesseldorf.de> |
Category | Parsing |
Uploaded | by MarcFontaine at 2011-09-22T13:57:50Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Executables | sableToHs |
Downloads | 2903 total (5 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] |