Grempa

Embedded grammar DSL and LALR parser generator

Latest on Hackage:0.2.2

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD3 licensed by Olle Fredriksson
Grempa
Embedded grammar DSL and LALR parser generator
Author: Olle Fredriksson

* Building

Use Cabal. Example:

> cabal configure
> cabal build
> cabal install

* Documentation

To generate the documentation for the different modules, use Cabal.

> cabal configure
> cabal haddock

Also refer to the examples.

* Examples

The examples directory contains examples of varying complexity which can be
used as an introduction to the usage of the library.

The examples are numbered, which serves as a suggested reading order.

* Testing

To also compile the module for generating random inputs and their expected
outputs for your grammar, and testing a generated parser against that, use the
test flag. Example:

> cabal configure -ftest
> cabal build
> cabal install

* Bugs

If you find a bug, please send a bug report to fredriksson.olle@gmail.com.

* License

Refer to the file LICENSE in this directory.
comments powered byDisqus