|
|
|
|
|
by stevekemp
1783 days ago
|
|
There's even a recipe posted in a couple of comments here: https://news.ycombinator.com/item?id=13082825 I followed that guide to implement a simple FORTH-like system in golang: https://github.com/skx/foth As I was following the implementation recipe I broke it down into "educational steps". Although it isn't a true FORTH it is pretty easy to understand and useful enough to embed inside other applications. Now and again I consider doing it again, but using a real return-stack to remove the hardcoded control-flow words from the interpreter, but I never quite find the time. |
|