2018-02-19 14:30:06 -08:00
2018-01-22 20:41:58 -08:00
2018-02-25 16:43:28 -08:00
2018-02-19 12:52:20 -08:00
2018-02-28 21:20:52 -08:00

Haskell WebAssembly Toolkit

Goals

  • Provide a WebAssembly code generation tool for Haskell
  • Create an infrastructure for Cmm to WebAssembly code generator
  • Have Fun :)

Status

  • Lexer: supports nested block comments and all lexemes from the WebAssembly Spec
  • Parser: parses all examples from WebAssembly Core TestsSuit (including folded instructions parsing)
  • Renaming Phase: substitute identifiers with correct indexes, expand all implicit type declarations)
  • Binary format parser/serializer
  • Validation Phase: execute a verification procedure from the Spec

Todo

  • Improve error messages for text representation parsing
  • Text Representation pretty-printer
  • Execution Phase: implement a simple interpreter for running WebAssembly Core TestsSuit assertions
S
Description
Haskell WebAssembly Toolkit
Readme MIT 1,007 KiB
Languages
Haskell 65.3%
Yacc 28.9%
Lex 5.5%
Nix 0.2%
HTML 0.1%