/parsley-lang

Parsley format definition language

Primary LanguageOCaml

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 and a tutorial explains its use for some well-known formats.