package bare_encoding

  1. Overview
  2. Docs
On This Page
  1. Features
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Bare-OCaml build

A simple code generator and runtime library for BARE following the spec.

License: MIT.

Features

  • runtime library named Bare, with entrypoints for encoding/decoding all the base types over Buffer.t and bytes respectively
  • code generator for producing OCaml code with type declarations and encoder/decoder functions. (TODO: also generate pretty printers)

    • the code generator can handle mutually recursive types and out-of-order declarations, by sorting them first.
  • basic testing (needs to be improved when test vectors are published)
  • basic vim syntax files in data/vim/
OCaml

Innovation. Community. Security.