Grempa: Embedded grammar DSL and LALR parser generator
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.
[Skip to Readme]
Modules
[Index]
Flags
Automatic Flags
Name | Description | Default |
---|---|---|
test | Build the module for generating random inputs and the expected output for your grammars. Default: False | Enabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- Grempa-0.2.2.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.1.0, 0.1.1, 0.1.2, 0.1.3, 0.2.0, 0.2.1, 0.2.2 |
---|---|
Dependencies | array (>=0.3), base (>=4.2 && <5), containers (>=0.3), mtl (>=2), QuickCheck (>=2.4), template-haskell (>=2.4), th-lift (>=0.5) [details] |
License | BSD-3-Clause |
Copyright | (c) 2011 Olle Fredriksson |
Author | Olle Fredriksson |
Maintainer | fredriksson.olle@gmail.com |
Category | Parsing |
Uploaded | by OlleFredriksson at 2013-02-07T21:14:50Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 6498 total (23 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] |