3 ms·
This one? https://8th-dev.com/samples.html https://8th-dev.com/samples.html It looks solid. I’d like to see how the GUI stuff works
by olah_1 6y ago
This one? https://8th-dev.com/samples.html https://8th-dev.com/samples.html
It looks solid. I’d like to see how the GUI stuff works
- 7thaccount 6y agoYeah that's the one I recommend if someone wants to try Forth for something besides microcontrollers. It is traditional to create your own Forth at some point (Ex: look for JonesForth or PunyForth) just for fun and to get a solid understanding for what a potential Forth could look like. You can make an entire Forth VM with lots of the main needed functions in a few pages of Python. Of course, performant varieties are traditionally done in either Assembly or C. Before you write a Forth though, it helps to play around with a decent Forth system to start thinking in concatenative programming terms. All you have is a stack and functions (i.e. words) to operate off of the stack. It makes it really easy to make DSLs. 8th itself is written in C++. The GUI stuff works. The download (trial is free and simple) comes bundled with the full toolchain, lots of examples, and some GUI tools for doing builds for those that don't like the command line. It used to use the JUCE C++ library for GUI, but Ron switched to Nuklear a few versions ago. I built a few simple GUIs, but nothing fancy. I'm sure there is a little bit of a learning curve.