zhangsoledad / molecule

Another serialization system: minimalist and canonicalization.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Molecule

License Travis CI

Another serialization system: minimalist and canonicalization.

Documents

Tools

Schema Compiler and Code Generator

Install

The official schema compiler and code generator are written in Rust, so you can install it via Cargo:

cargo install moleculec --locked

Note: the official code generator is only support two languages: Rust and C.

Usage

  • You can use the follow command to generate the code:

    moleculec --language <language> --schema-file <schema-file>
  • More details can be found by the follow command:

    moleculec --help

Other Languages

Molecule's reference implementation is in Rust and C.

Implementations in other languages are maintained by respective authors.

Plugins for Editors

Benchmark

License

Licensed under MIT License.

About

Another serialization system: minimalist and canonicalization.

License:MIT License


Languages

Language:Rust 90.8%Language:C 5.1%Language:C++ 3.6%Language:Makefile 0.4%