jonesforth
riscv-hello-asm
Our great sponsors
jonesforth | riscv-hello-asm | |
---|---|---|
41 | 1 | |
967 | 41 | |
- | - | |
0.0 | 0.0 | |
12 months ago | over 2 years ago | |
Assembly | Assembly | |
- | 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.
jonesforth
- Konilo: A personal computing system in Forth
-
Ask HN: Where do I find good code to read?
Is there any particular language you're looking for? I've found some languages hideous until I understood them and could appreciate their respective graces. Off the top of my head the I can think of a couple.
The first is Jones Forth (https://github.com/nornagon/jonesforth), start with jonesforth.S and move into jonesforth.f. I really enjoyed following along with it and trying my hand at making my own stack based language.
The other is Xv6, a teaching operating system from MIT (https://pdos.csail.mit.edu/6.828/2021/xv6.html), not all the code or implementations are top notch but it shows you non-optimized versions (just because they're simple and more readable) of different concepts used in OS design.
If you're interested in the embedded world, there is a really neat project I've been following that feels a more structured and safe (as in fault-tolerant) while still staying pretty simple (both conceptually and in the code itself): Hubris and Humility (https://hubris.oxide.computer/).
-
Making my own forth implementation
OP mentioned jonesforth, but linked to a nasm port of it. Which is probably good it’s just that the documentation in the comments with ascii art doesn’t look right on my screen. So here’s a more common repo: https://github.com/nornagon/jonesforth
- I'm wondering why so few forth microcontoller tutorials are out there?
- Languages to implement in space-constrained environments
-
The Zen of Forth
To me, the Zen of Forth is JONESFORTH.
https://github.com/nornagon/jonesforth/blob/master/jonesfort...
-
Seeking some advice on creating yet another Forth...
This may help you, as will this, this, and this.
- A bit confuse
-
Byte Magazine: The FORTH programming language
In my AVR phase, I build a FORTH interpreter using the jonesforth page.
Nice introduction to threaded interpreters.
https://github.com/nornagon/jonesforth/blob/master/jonesfort...
- Jonesforth – A sometimes minimal FORTH compiler and tutorial (2007)
riscv-hello-asm
-
Jonesforth Port to RISC-V
This works well enough to compile my hello-world example (available here[1]) but I'd like to use that `fp` register naming...
What are some alternatives?
stoneknifeforth - a tiny self-hosted Forth implementation
factor - Factor programming language
tinyrenderer - A brief computer graphics / rendering course
durexforth - Modern C64 Forth
sectorforth - sectorforth is a 16-bit x86 Forth that fits in a 512-byte boot sector.
SavjeeCoin - A simple blockchain in Javascript. For educational purposes only.
Crafting Interpreters - Repository for the book "Crafting Interpreters"
jonesforth_riscv - Jonesforth RISC-V port.
bocker - Docker implemented in around 100 lines of bash
acwj - A Compiler Writing Journey
collapseos - Bootstrap post-collapse technology
raspberry-pi-os - Learning operating system development using Linux kernel and Raspberry Pi