MiniForth
muforth
MiniForth | muforth | |
---|---|---|
1 | 2 | |
87 | 126 | |
- | - | |
10.0 | 9.3 | |
over 2 years ago | 3 months ago | |
C++ | Forth | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
MiniForth
-
Forth: The programming language that writes itself: The Web Page
As soon as I met Forth, I felt I had to hack my own [miniforth](https://github.com/ttsiodras/MiniForth/) - and did so over a single week, two years ago. I targeted the Blue Pill and the original Arduino, but developed via cross-compilers so that I could test my code in the host.
I became so obsessed with the project that I was looking forward to tinkering with it after coming back from work every day; so it was hacked in 5 evenings and a weekend.
It was that fun, to build a Forth. I highly recommend the process - I think the only other time I felt so enlightened was [when I first met Lisp macros](https://www.thanassis.space/score4.html#lisp).
muforth
-
Forth: The programming language that writes itself: The Web Page
Is Google down again? Bummer.
FORTH is still used to bring up new silicon because of its tiny core, you only need a couple of working assembly instructions to bootstrap yourself into a working system, you could do this entirely in cache or a small static RAM if you don't have a working memory controller yet.
It is also used all over the place in embedded controllers, https://arduino-forth.com/ , http://www.piclist.com/techref/microchip/language/forths.htm , https://github.com/nimblemachines/muforth , from PICs to ARMs and everything in between.
You won't see a lot of hype around it and repos tend to be old because they 'just work', typically a user of such a system would download it and customize it to the point that sharing it would be pointless, the whole idea is to extend the language to become the application.
-
muforth
From the github README: "muforth is a small, simple, fast, indirect-threaded code (ITC) Forth intended for use as a cross-compiler for microcontrollers and other embedded devices. It is written in C and its core is very portable. Because of its Forth nature, it is naturally extensible, scriptable, and customizable."
What are some alternatives?
third - Third, a small Forth compiler for 8086 DOS
sightreading.training - 🎹 Sight reading training tool
goforth - A fully compiled and forth-like language including a small virtual machine.
factor - Factor programming language
moonscript - :crescent_moon: A language that compiles to Lua