X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=README.md;h=18cae80d810e5618326cfa3c954b24ea1ee12cef;hb=978dc486bf8c83cf9cad0925e3128574639656e0;hp=35c4616da538dd2c7a208cd2e84c60e7736d2b0d;hpb=356120519f1690474d975dba49549bc36a48886b;p=cc1516.git diff --git a/README.md b/README.md index 35c4616..18cae80 100644 --- a/README.md +++ b/README.md @@ -1 +1,29 @@ -# cc1516 \ No newline at end of file +#spl +` ::= ` + +## Build instructions +To build you need to have a [clean](http://clean.cs.ru.nl) system on +your machine. More specifically the development version since we use the +`clean-platform` library. + +### Linux +Append `envs/envs.linux64` to your `IDEEnvs` and run `make`. + +### Mac +Append `envs/envs.mac` to your `IDEEnvs` and run `make`. + +### Windows +Install a real operating system and try again. + +## Usage +If `help2man` is installed you can generate a manpage by running `make man`. +For full instruction see `man ./spl.1` or run `./spl --help`. + +## Fun +You can verify the parser and pretty printer by running: +``` +diff -s <(./spl examples/example.spl | ./spl) <(./spl examples/example.spl) +``` + +## `LICENCE` +See `LICENCE` file.