Ricardo Forth: a Forth implemented in C, JS, WebAssembly and compiled from C to asm.js and WebAssembly
It comes a time in the life of everyone when you implement a Forth.
The time has come for me.
Presenting Ricardo Forth:
A Forth dialect implemented in C, Javascript, WebAssembly and compiled from C to asm.js and WebAssembly.
This project is based on the 1992 IOCCC entry buzzard.2 (design notes: buzzard.2.design), prettified and then compiled to:
asmjs using emscripten
WebAssembly using Binaryen
Also reimplemented by translating the C code into Javascript and WebAssebly.
Go check it out if you are curious about asmjs, WebAssembly, Forth or Emscripten/Binaryen.