by s-macke · 8y ago · 0 comments
For me, Forth is a language in which you can easily shoot yourself in the foot. One element more or less on the stack and you run into strange problems ten functions later in your code. But what I especially like is the enhanced naming of "words". You can choose "variable" or "function" names such as "a->b" instead of "a2b()" or "a_to_b()". Or "@X" for "GetX()" and "!X" for "PutX()".
Nice.
[1] https://en.wikipedia.org/wiki/Philae_(spacecraft)
[2] https://www.intersil.com/content/dam/Intersil/documents/hs-r...
Apparently one of the "features" motivating the decision to use Lua is "it's interpreter is very small (~240 KB)," which sounds like a dumb joke when you consider Forth's footprint.
Sorry, if I reveal this link too early, but this is very impressive work of you and StarFlight game/engine really deserves more popularity!
When I started I had not even a clue what Forth is about. I read the first articles about Forth long after I started the decompilation project.
I still have to write a long text in the README, why the code of Starflight is almost as awesome as the game itself. Then it is ready for publish :-)