online documentation: https://c-cube.github.io/bare-ocaml/
runtime library named
Bare, with entrypoints for encoding/decoding
all the base types over
code generator for producing OCaml code with type declarations and encoder/decoder functions.
the code generator can handle mutually recursive types and out-of-order
declarations, by sorting them first.
Each type gets its own toplevel module; for example
type foo int
module Int = struct type t = int64 let decode = … let encode = … end
pretty-printers can be generated using the
the generated code can be made dependency-free by using
In that case, the code for the
Baremodule will be inserted at the beginning
of the generated code.
basic testing (needs to be improved when test vectors are published)
basic vim syntax files in