samwgoldman / ocamlrep

Sets of libraries and tools to write applications and libraries mixing OCaml and Rust. These libraries will help keeping your types and data structures synchronized, and enable seamless exchange between OCaml and Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ocamlrep: Interop OCaml and Rust code

The goal of this project is to make OCaml and Rust code interoperable. While in its early stage of development, this library is actively used by the HHVM project, mostly in the Hack type checker, to enable OCaml code to rely on Rust.

Requirements

This project is stand-alone and requires or works with:

  • OCaml 4.14.0;
  • A rust nightly toolchain.

Building ocamlrep

Assume an opam installation on a 4.14.0 like switch. From the repository root,

    cargo build

Contributing

See the CONTRIBUTING file for how to help out.

License

ocamlrep has an MIT license. See the LICENSE file included in this distribution.

About

Sets of libraries and tools to write applications and libraries mixing OCaml and Rust. These libraries will help keeping your types and data structures synchronized, and enable seamless exchange between OCaml and Rust

License:MIT License


Languages

Language:Rust 89.1%Language:OCaml 7.8%Language:C 3.0%