3 ms·
This really is an interesting article, and much of the introduction aligns with my experience: I love the concept, wish I had a reason to use Forth, but also I'
by macintux 6y ago
This really is an interesting article, and much of the introduction aligns with my experience: I love the concept, wish I had a reason to use Forth, but also I'm not and never have been a hardware person and haven't the foggiest clue what to do with it.
For anyone who isn't familiar with the language, Thinking Forth[1] and Starting Forth[2] are (as far as I know) well-regarded books on the subject.
[1]: http://thinking-forth.sourceforge.net http://thinking-forth.sourceforge.net
[2]: https://www.forth.com/starting-forth/ https://www.forth.com/starting-forth/
Also, for anyone like me who dearly misses W. Richard Stevens, he wrote a Forth primer in the 70s. You can find it any several other documents on forth.org[3].
[3]: http://forth.org/tutorials.html http://forth.org/tutorials.html
Previous discussions of this post over the years:
https://news.ycombinator.com/item?id=3963896 https://news.ycombinator.com/item?id=3963896
https://news.ycombinator.com/item?id=8146306 https://news.ycombinator.com/item?id=8146306
https://news.ycombinator.com/item?id=8869150 https://news.ycombinator.com/item?id=8869150
https://news.ycombinator.com/item?id=21153555 https://news.ycombinator.com/item?id=21153555
- jlg23 6y ago> I love the concept, wish I had a reason to use Forth, but also I'm not and never have been a hardware High level & easy: chat bots. I have implemented a forth interpreter in several bots I wrote (admins only, for obvious reasons ;). Since they are running within the bot's code, you have as much access to the client's state as you allow/implement.
- mumblemumble 6y agore:factor is a nice blog for seeing how higher-level things can be done in a concatenative language. It's been dormant for a couple years, but the archives have some interesting examples of redoing well-known stuff in Factor. https://re-factor.blogspot.com/ https://re-factor.blogspot.com/ For example, here's a gopher server: https://re-factor.blogspot.com/2016/10/gopher-server.html https://re-factor.blogspot.com/2016/10/gopher-server.html
- ranma42 6y agoIn that context, mecrisp forth on a small micro[1] for doing simple embedded/sensor programming sounds like something I should try sometime... [1] https://jeelabs.org/article/1705c/ https://jeelabs.org/article/1705c/