The Grempa package

[Tags: bsd3, library]

A library for expressing programming language grammars in a form similar to BNF, which is extended with the semantic actions to take when a production has been parsed. The grammars are typed and are to be be used with the LALR(1) parser generator, also part of the library, which can generate a parser for the language either at compile time using Template Haskell, producing fast parsers with no initial runtime overhead, or dynamically, which has the initial overhead of generating the parser, but can be used for example when the grammar depends on an input.


Properties

Versions0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.2.0, 0.2.1, 0.2.2
Dependenciesarray (>=0.3 && <0.5), base (>=4.2 && <5), containers (>=0.3 && <0.5), mtl (==2.0.*), template-haskell (>=2.4 && <2.8), th-lift (==0.5.*)
LicenseBSD3
Copyright(c) 2011 Olle Fredriksson
AuthorOlle Fredriksson
Maintainerfredriksson.olle@gmail.com
StabilityExperimental
CategoryParsing
Upload dateSat Feb 11 13:09:12 UTC 2012
Uploaded byOlleFredriksson
Downloads547 total (45 in last 30 days)

Modules

[Index]

Flags

NameDescriptionDefault
testBuild the module for generating random inputs and the expected output for your grammars. Default: FalseEnabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainers' corner

For package maintainers and hackage trustees