binaryen

Haskell bindings to binaryen https://github.com/tweag/haskell-binaryen#readme

Version on this page:0.0.3.0
Stackage Nightly 2020-09-27:0.0.4.0
Latest on Hackage:0.0.4.0

See all snapshots binaryen appears in

BSD-3-Clause licensed
Maintained by Cheng Shao

Module documentation for 0.0.3.0

This version can be pinned in stack with:binaryen-0.0.3.0@sha256:8031a6f18c4824cca1485d3dec3ad6657cd9c849029c2cff67655c6d7799da29,1569

Haskell bindings for binaryen

Build status

Binaryen is a compiler and toolchain infrastructure library for WebAssembly, written in C++. This package defines bindings to the Binaryen API.

Versioning

Binaryen evolves fast and can introduce C API changes in every release. Before building the Haskell bindings, please check the Binaryen version and make sure it’s no less than the minimum version listed below.

Haskell bindings version Minimum Binaryen version
0.0.1.* version_91
0.0.2.* version_94
0.0.3.* version_96

How to build

This package relies on the system-provided Binaryen library. As long as that’s available, a simple stack build or cabal build command should work.

Nix-based build is also supported. Install Stack and Nix. Then,

$ stack --nix build

Changes

CHANGELOG for binaryen

0.0.1.1

  • Fix a runtime error when linking against version_92 or above due to a breaking change in upstream C API.

0.0.1.0

  • Initial release.
Depends on 1 package(full list with versions):