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
- Host: GitHub
- URL: https://github.com/drom/wast-forth
- Owner: drom
- License: mit
- Created: 2016-04-02T02:20:35.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-11-01T06:39:47.000Z (over 9 years ago)
- Last Synced: 2025-03-31T01:51:13.540Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 20.5 KB
- Stars: 20
- Watchers: 5
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](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)