The SableCC2Hs package

[Tags:bsd3, library, program]

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 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.


Dependencies array (>0.3 && <0.4), base (>=4.0 && <5.0), containers (==0.4.*), loch-th (==0.1.*), pretty (==1.0.*), xml (==1.3.*) [details]
License BSD3
Author Marc Fontaine
Maintainer Marc Fontaine <>
Category Parsing
Uploaded Wed Sep 28 13:35:17 UTC 2011 by MarcFontaine
Distributions NixOS:
Downloads 927 total (16 in the last 30 days)
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees