Boosted by cstanhope@social.coop ("Your weary 'net denizen"):
cliffle@hachyderm.io wrote:
Been cooking up a new bootstrap compiler for my little Forth machine: Enter The Turducken.
https://codeberg.org/cliffle/cfm-spade/src/branch/main/doc/bootstrap.markdown
It runs an emulator for the Forth machine, written in Forth, on the machine and "cross-compiles" into it.
Want to produce an initial hex file before you have the computer working? No problem! There's also a CPU emulator written in Rust. It can run the recompiler and the emulator written in Forth. An emulator in an emulator, hence the name.