bytes
for mutable RustString
, whereasstring
becomes&str
int64
for Rusti64
vs. 63-bit OCamlint
Bigstring.t
with custom allocatorTriple
that callscaml_alloc_ntuple
in allocpair.c
- Changed name from caml-oxide to dmz to avoid confusion with formal semantics project and others
- Unit test using Alcotest
- Build OCaml files with Dune
- Restructed directories to separate examples and tests from core Rust library
('a, string) result
for RustResult<A>
bool
as_vec()
function forList<A>
- Optional
type_def
method toMLType
to print defintions of abstract types and records alloc_string_newtype()
for newtype wrappers aroundString
alloc_list()
alloc_tuple
for arbitrary sized n-tuplesZ.t
for Rustnum::BigInt
camlmod!
also prints an .mli file using optionalinterface
method forMLType
(maybe unnecessary)- Deriving macro to generate
MLType
,ValExt
and newtype impls as well as allocation functions for newtypes - Somehow package allocpair.c and printmod.ml with rust crate
- Known bug: won't generate type definitions when wrapped in another type, e.g.
Option<Foo>
results in "Unbound type constructor foo"