4 ms·
I went through a basic Forth tutorial [0] a couple of years ago and really enjoyed the process. It gets you to the point of building a real game of "snake", alt
by n4r9 7y ago
I went through a basic Forth tutorial [0] a couple of years ago and really enjoyed the process. It gets you to the point of building a real game of "snake", although it slightly glosses over the actual canvas interface.
[0] https://skilldrick.github.io/easyforth/ https://skilldrick.github.io/easyforth/
- ngcc_hk 7y agoInteresting. But in iphone we do not have arrow keys sadly. Possibly can hack ... but not forth.
- ngcc_hk 7y agoI try to find a better way to try this and after reading hackaday on Forth 2017 which highlight the latest (2017) update on Forth development: https://hackaday.com/tag/forth/ https://hackaday.com/tag/forth/ (mainly this: https://hackaday.com/2017/08/04/take-the-blue-pill-and-go-forth/#more-267209 https://hackaday.com/2017/08/04/take-the-blue-pill-and-go-fo... ) I find this and you can run the whole thing on my MacBook in 5 minutes. It is great: https://jeelabs.org/article/1720b/ https://jeelabs.org/article/1720b/
- int_19h 7y agoThe really interesting thing about Forth is just how minimalistic a bare-metal Forth implementation can be - not even an interpreter, but literally a few words handcoded in machine code, and the rest built from there (and then possibly optimized with more machine code, if you need that). Given the ease with which Forth can be ported to other platforms and architectures, I often wonder why there's no C-to-Forth translator - it seems like it would be just about the easiest way to bootstrap things.
- pjmlp 7y agoBare metal like on the Ace.:) https://en.wikipedia.org/wiki/Jupiter_Ace https://en.wikipedia.org/wiki/Jupiter_Ace http://jupiter-ace.co.uk/ http://jupiter-ace.co.uk/