Hacker News new | past | comments | ask | show | jobs | submit login

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.




It'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

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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: