README.md 505 Bytes
Newer Older
Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
1
# CoPaR
Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
2
3
4
5
6
7
8
9
10
11

## Building

    stack build

## Running

There isn't much to see, yet. To see pretty printed parse results,
use:

Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
12
    stack exec copar refine < FILENAME
Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
13

Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
14
15
Where `FILENAME` is a file describing the input. Examples are in
`examples/`.
16

Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
17
Command line syntax is described in `stack exec -- copar --help`.
18

19
20
21
22
23
## API documentation

The documentation for the internal API can be built and opened in the
default browser with:

Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
24
    stack haddock --open copar
25
26

This can help to understand the code structure.