NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
Tumble Forth – from assembly to OS with C compiler (tumbleforth.hardcoded.net)
fjfaase 12 minutes ago [-]
For the C compiler that I developed to replace the GNU Mes compiler in the live-bootstrap project, I also used a Forth like language that uses two stack. One stack for parameters and return values and one for the return addresses and local variables. The Forth like language is transpiled in assembly and through some steps made into an ELF file. The targets are: x86, x86_46, and arm64. Work on supporting riscv64 has started, but is currently on hold due to other responsibilities. If there is anyone willing to complete it, I do have some small funds as a bonus.
einpoklum 3 hours ago [-]
Point of clarification: Rummaging through that site, and as far I can see - the Forth language is not used.
astrobe_ 3 hours ago [-]
It is. When you read "6. A Tale Of Two Stacks" you can be pretty sure that Forth is involved.
ozonator 3 hours ago [-]
Did you miss the C compiler written in Forth?
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 23:32:58 GMT+0000 (Coordinated Universal Time) with Vercel.