-
Notifications
You must be signed in to change notification settings - Fork 2
/
README
45 lines (28 loc) · 983 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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.