3 ms·
Forth is the 100% opposite approach to the same philosophy of scheme/lisp. You write your program by creating a dsl. They are both 'syntax-less' in scheme you
by Marazan 11y ago
Forth is the 100% opposite approach to the same philosophy of scheme/lisp.
You write your program by creating a dsl.
They are both 'syntax-less' in scheme you have an AST in forth you have two stacks and a dictionary of words.
As many people say about Scheme it is highly enlightening to write yout own forth interpreter.
- RodgerTheGreat 11y agoIt's a bit more difficult to write a Scheme in Forth than the other way around, but how about a Logo? https://github.com/JohnEarnest/Mako/tree/master/demos/Loko https://github.com/JohnEarnest/Mako/tree/master/demos/Loko I also wrote a browser based VM so you can give it a spin without compiling anything yourself: http://johnearnest.github.io/Mako.js/?rom=Loko http://johnearnest.github.io/Mako.js/?rom=Loko