binaryen.ml

OCaml bindings for Binaryen.

APACHE-2.0 License

Stars
50
Committers
5

Bot releases are visible (Hide)

binaryen.ml - binaryen.ml v0.10.0

Published by github-actions[bot] over 3 years ago

⚠ BREAKING CHANGES

  • Move expressions into namespaces
  • Move element segment into own module
  • Move Features into Module.Feature
  • Create Settings modules & move global functions
  • Convert some Settings from ints to bools
  • Remove SIMD methods that Binaryen replaced
  • Upgrade Binaryen to v101 (#99)

Features

  • Add Module.get_features (3de1b28)
  • Add Type.expandType (3de1b28)
  • Add operations on element segments (3de1b28)
  • Add operations on exports (3de1b28)
  • Add operations on expressions (3de1b28)
  • Add operations on functions (3de1b28)
  • Add operations on globals (3de1b28)
  • Add operations on imports (3de1b28)
  • Add support for reference types (#101) (5058492)
  • Build vendored Binaryen with GCC 7 instead of 9 (3de1b28)
  • Convert some Settings from ints to bools (3de1b28)
  • Create Settings modules & move global functions (3de1b28)
  • Move Features into Module.Feature (3de1b28)
  • Move element segment into own module (3de1b28)
  • Move expressions into namespaces (3de1b28)
  • Upgrade Binaryen to v101 (#99) (3de1b28)

Miscellaneous Chores

  • Remove SIMD methods that Binaryen replaced (3de1b28)
binaryen.ml - binaryen.ml v0.9.1

Published by github-actions[bot] over 3 years ago

Bug Fixes

  • Correct JS conversion of i64 & float64_bits literals (#96) (00b7093)
binaryen.ml - binaryen.ml v0.9.0

Published by github-actions[bot] over 3 years ago

Features

  • add Function_table.unlimited constant (#87) (0d2fcde)
  • write bindings for add_table (6dc0fa8)

Bug Fixes

  • js: cast the call_indirect string arguments to JS strings (7b4136a)
  • js: utilize JSOO externals to convert between uint8array & bytes (#85) (61d28c5)
  • return JS null value from Expression.null (#83) (61861e2)

Miscellaneous Chores

  • fix formatter & format the code (#80) (b9c485a)
  • set dune language to the version of dune we use (e9eb5c9)
  • use test file directly in one rule so ocaml-lsp works (34b7a13)

Documentation

  • cleanup Binaryen submodule & building language (closes #65) (3bdb23d)
binaryen.ml - binaryen.ml v0.8.1

Published by github-actions[bot] over 3 years ago

Bug Fixes

Continuous Integration

  • write opam CHANGES from environment var (#78) (4f25e0e)
binaryen.ml - binaryen.ml v0.8.0

Published by github-actions[bot] over 3 years ago

⚠ BREAKING CHANGES

  • Table name must now be provided to the Expression.call_indirect and Expression.return_call_indirect instructions.

Features

Continuous Integration

  • fix markdown escaping for opam release (#72) (a2e6052)

Miscellaneous Chores

binaryen.ml - binaryen.ml v0.7.0

Published by github-actions[bot] over 3 years ago

⚠ BREAKING CHANGES

  • memory_size and memory_grow are now toplevel functions in Expression.
  • removed Type.nullref, Type.exnref
  • removed Op.any_true_vec_i64x2 and Op.all_true_vec_i64x2
  • Bump to Binaryen 98

Features

Continuous Integration

  • add opam & npm releases to workflow (#69) (d339608)
  • run opam build on ubuntu 18 instead of 20 (#67) (7ee2009)

Miscellaneous Chores

  • memory_size and memory_grow are now toplevel functions in Expression. (9a52a07)
  • removed Op.any_true_vec_i64x2 and Op.all_true_vec_i64x2 (9a52a07)
  • removed Type.nullref, Type.exnref (9a52a07)
binaryen.ml - binaryen.ml v0.6.0

Published by github-actions[bot] almost 4 years ago

Features

binaryen.ml - binaryen.ml v0.5.0

Published by github-actions[bot] almost 4 years ago

Features

  • Allow optional return_type parameter when creating blocks (ab737bd)

Bug Fixes

  • add arch & os restrictions for opam (#41) (421b45d)
  • provide type to select instruction (#46) (2096a3c)

Documentation

  • add section about static linking (#37) (f9afda1)

Miscellaneous Chores

  • Add --no-browser flag to opam-publish (#43) (f47f2bb)
  • Switch back to official setup-opam action (#44) (f4338bd)

Continuous Integration

binaryen.ml - v0.4.0

Published by github-actions[bot] almost 4 years ago

Changes in this Release

  • Upgrade Binaryen to v95
  • Add Windows support
  • Vendor prebuilt Binaryen for Windows, MacOS, and Linux
binaryen.ml - v0.3.0

Published by github-actions[bot] about 4 years ago

Changes in this Release

  • Implemented Dune "Virtual Interfaces" to support native & JS bindings
  • Added JS bindings to binaryen.js
  • Added Memory.unlimited constant for unlimited memory
  • Automated opam publish workflow
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