Skip to content
WebAssembly AST ↔️ Forth
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
lib
test
testsuite @ 580b8d1
wast-parser @ 3d51e15
.eslintrc
.gitignore
.gitmodules
.travis.yml
LICENSE
README.md
package.json
stack-manipulation.csv
wasm-forth-operations.csv
wasm-riscv.csv

README.md

Build Status

wast-forth

WebAssembly AST 👉 Forth

Usage

Install

npm i wast-forth

CLI

genforth test.wast > test.forth

As a library

var p = require('wast-praser').parse,
    g = require('wast-forth').genforth;

console.log(g(p('(module )')));
// =>

References

Portable Assembly Language (PAF)

You can’t perform that action at this time.