Forth programming environment implemented in JavaScript.
npm i forth -g
forth
forth < core.frt
var forth = require('forth');
var f = forth(); // new instance of Forth machine
// f.s -- is the duplex stream
process.stdin.pipe(f.s).pipe(process.stdout);use Browserify!
Run Forth interpreter.
input can be String or Stream
Data stack Array
Return stack Array
npm test
MIT LICENSE.
