binaryen.ml

OCaml bindings for Binaryen.

APACHE-2.0 License

Stars
50
Committers
5

Bot releases are hidden (Show)

binaryen.ml - 0.2.3

Published by ospencer over 4 years ago

This release fixes a small issue with passing strings that contain null bytes to Binaryen.

binaryen.ml - v0.2.2

Published by ospencer over 4 years ago

Fixes an issue where OCaml strings would get garbage collected while a Binaryen module still had references to them.

binaryen.ml - v0.2.1

Published by ospencer over 4 years ago

Minor bug fix with features.

binaryen.ml - v0.2.0

Published by ospencer over 4 years ago

This version adds support for use of multivalue with Binaryen.

Use Module.set_features with [Features.mvp; Features.multivalue] to enable the feature.

New expressions: Expression.tuple_make, Expression.tuple_extract, Expression.pop

There's also now Expression.null that can be passed to an expression wherever a NULL is allowed with Binaryen's C API, namely the else branch of Expression.if_, the value and condition of Expression.break, etc.

binaryen.ml - Initial release

Published by ospencer over 4 years ago