4 ms·
Perhaps you'd enjoy some of my old Forth projects. I designed a portable VM with a Forth-based development toolchain and standard library. Included among the pr
by RodgerTheGreat 10y ago
Perhaps you'd enjoy some of my old Forth projects. I designed a portable VM with a Forth-based development toolchain and standard library. Included among the programs I wrote using this system were a variety of compilers and interpreters.
FiDo, a tiny JIT compiler: https://github.com/JohnEarnest/Mako/blob/master/demos/FiDo.fs https://github.com/JohnEarnest/Mako/blob/master/demos/FiDo.f...
A Logo interpreter: https://github.com/JohnEarnest/Mako/blob/master/demos/Loko/Loko.fs https://github.com/JohnEarnest/Mako/blob/master/demos/Loko/L...
A garbage collector used by a number of games and programs: https://github.com/JohnEarnest/Mako/blob/master/lib/Algorithms/Garbage.fs https://github.com/JohnEarnest/Mako/blob/master/lib/Algorith...
A custom systems programming language targeting the VM (Java) https://github.com/JohnEarnest/Mako/tree/master/tools/Stroyent https://github.com/JohnEarnest/Mako/tree/master/tools/Stroye...
- DonHopkins 10y agoWow, a full blown Logo interpreter written in Forth! Very cool! Nice looking code. Thanks for sharing!
- RodgerTheGreat 10y agoLoko (and many of the other programs) can be run interactively here: http://johnearnest.github.io/Mako.js/?rom=Loko http://johnearnest.github.io/Mako.js/?rom=Loko Unfortunately some browsers have decided that backspace should navigate back, which makes typing at the Loko REPL rather awkward.