4 ms·
I've had a lot of fun writing a simple FORTH-like recently: https://github.com/skx/foth/ https://github.com/skx/foth/ Inspired by a previous hackernews commen
by stevekemp 6y ago
I've had a lot of fun writing a simple FORTH-like recently:
https://github.com/skx/foth/ https://github.com/skx/foth/
Inspired by a previous hackernews comment-thread, I don't use a return-stack. So while I do have support for `if` it is implemented in a hardwired fashion.
I'd love to spend the time to do it properly, but I suspect rabbit-hole wouldn't even begin to describe the amount of time I'd sink into it.
- FullyFunctional 6y agoI did sink into it for a bit, playing with a matrix of 9 different schemes. However instead of Forth I’d implement Leroy’s ZINC model and implement a simple RPN version of the lambda calculus.