Re:Yarn – A small embeddable VM with a custom instruction set
by WetDesertRock on Sunday February 28, 2016 @12:45PM
(#11191568)
Oh interesting, I'll look more into that.
Yeah, it should compile to JS, I'll probably look into doing that at a later point in time.
Re:Yarn – A small embeddable VM with a custom instruction set
by vmorgulis on Sunday February 28, 2016 @12:59PM
(#11191644)
It's simple once the emscripten SDK is installed ("emcc main.c -o main.js/html").
https://kripken.github.io/emscripten-site/docs/tools_referen...
It reminds the Moxie processor:
http://moxielogic.org/blog/
https://github.com/atgreen/moxiedev
The author even wrote a backend for GCC.
Your demo from Twitter should compile to JS with emscripten.