An open API service indexing awesome lists of open source software.

https://github.com/drom/wast-forth

WebAssembly AST :left_right_arrow: Forth
https://github.com/drom/wast-forth

Last synced: 11 months ago
JSON representation

WebAssembly AST :left_right_arrow: Forth

Awesome Lists containing this project

README

          

[![Build Status](https://travis-ci.org/drom/wast-forth.svg?branch=master)](https://travis-ci.org/drom/wast-forth)
# wast-forth

WebAssembly AST :point_right: Forth

## Usage

### Install

```
npm i wast-forth
```

### CLI

```
genforth test.wast > test.forth
```

### As a library

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

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

### References

[Portable Assembly Language (PAF)](http://www.complang.tuwien.ac.at/anton/euroforth/ef13/papers/ertl-paf.pdf)