@hackage binaryen0.0.1.0
Haskell bindings to binaryen
Categories
License
BSD-3-Clause
Maintainer
Shao Cheng <cheng.shao@tweag.io>
Links
Versions
Haskell bindings for binaryen
Binaryen is a compiler and toolchain infrastructure library for WebAssembly, written in C++. This package defines complete bindings to the Binaryen C API, and can be useful to building WebAssembly toolchains in Haskell.
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.0 | version_91 |
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