Skip to content

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

themarwhal/ocamlrep

 
 

Repository files navigation

ocamlrep: Interop OCaml and Rust code facebook

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 1.

Building ocamlrep

There are two build methods. One way is to use Cargo and the other is to use Buck2.

Contributing

See the CONTRIBUTING file for how to help out.

License

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

Footnotes

  1. If you plan on using Buck2 for building ocamlrep we recommend nightly-2023-01-24 at this time.

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

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Starlark 72.3%
  • Rust 10.0%
  • Erlang 8.8%
  • Python 6.7%
  • OCaml 0.9%
  • Go 0.4%
  • Other 0.9%