An open API service indexing awesome lists of open source software.

https://github.com/sri-csl/parsley-lang

Parsley format definition language
https://github.com/sri-csl/parsley-lang

Last synced: about 2 months ago
JSON representation

Parsley format definition language

Awesome Lists containing this project

README

        

Interpreter for the Parsley data definition language.

Building
--------

The easiest way to get the dependencies is via opam:

https://opam.ocaml.org/

Ensure your opam is up-to-date before installing the dependencies:

```
$ opam update && opam upgrade
$ opam install menhir dune cmdliner
```

Then,
```
$ make
```
should leave the compiler executable in `./parsleyc.exe`.

To build a version suitable for fuzzing with AFL, run
```
$ make afl
```
and use the executable in `./parsleyc_afl.exe`.

Documentation
-------------

The Parsley language is documented in a [reference
manual](doc/readme.adoc) and a [tutorial](doc/tutorial/overview.adoc)
explains its use for some well-known formats.