package bare_encoding

  1. Overview
  2. Docs
BARE encoding, see https://baremessages.org/

Install

Dune Dependency

Authors

Maintainers

Sources

v0.1.tar.gz
md5=5f1ce66a16a76b0cd8433883d297ce60
sha512=1e2323779b25fc9cf1f1ea6def59fd3fbc4134573b9dd3adac150ce86e94ea3ff4f13d0c03cd6421b087ee2b7868dd4b5eaede1db4460f5c42a0e15ee24e21ec

Description

Tags

encoding binary bare

Published: 23 Oct 2021

README

Bare-OCaml

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/

Dependencies (2)

  1. ocaml >= "4.08"
  2. dune >= "2.8"

Dev Dependencies (2)

  1. odoc with-doc
  2. qtest with-test & >= "2.10"

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.