binaryen: Haskell bindings to binaryen

[ bsd3, compiler, library ] [ Propose Tags ]

Haskell bindings to binaryen. Provides complete bindings to the C API, which can be useful for building WebAssembly toolchains in Haskell.


[Skip to Readme]
Versions [RSS] [faq] 0.0.1.0, 0.0.1.1, 0.0.2.0, 0.0.3.0, 0.0.4.0, 0.0.5.0, 0.0.6.0
Change log CHANGELOG.md
Dependencies base (<5) [details]
License BSD-3-Clause
Copyright (c) 2018 Tweag I/O
Author
Maintainer Shao Cheng <cheng.shao@tweag.io>
Category Compiler
Home page https://github.com/tweag/asterius#readme
Bug tracker https://github.com/tweag/asterius/issues
Source repo head: git clone https://github.com/tweag/asterius
Uploaded by terrorjack at 2020-04-25T13:37:51Z
Distributions NixOS:0.0.6.0, Stackage:0.0.6.0
Downloads 792 total (38 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
All reported builds failed as of 2020-04-25 [all 3 reports]

Modules

  • Binaryen
    • Binaryen.Event
    • Binaryen.Export
    • Binaryen.Expression
    • Binaryen.ExpressionId
    • Binaryen.ExternalKind
    • Binaryen.Features
    • Binaryen.Function
    • Binaryen.Global
    • Binaryen.Index
    • Binaryen.Module
    • Binaryen.Op
    • Binaryen.Relooper
    • Binaryen.SideEffects
    • Binaryen.Type

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Candidates


Readme for binaryen-0.0.1.0

[back to package description]

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