Selfie – Tiny self-compiling C compiler, RISC-V emulator and hypervisor
selfie.cs.uni-salzburg.at
selfie.cs.uni-salzburg.at
(Such links are for the curious. Reposts are ok after about a year: https://news.ycombinator.com/newsfaq.html)
Besides compiler, emulator, and hypervisor, there is a symbolic execution engine in selfie that we are working on and would love to get feedback from you. The goal is to teach, eventually, a more formal approach when reasoning about correctness already in undergraduate classes. But the engine is also a research vehicle, especially the bounded model checking part.
I pulled your PR and even plan to use repl.it in the upcoming compiler class.
The implementation includes the hardware too.
Taken together, the system including single-tasking OS, windowing system and Oberon takes about 9000 lines of code.
https://www.research-collection.ethz.ch/bitstream/handle/20....
Also, following on from A2, Composita introduces a component architecture to allow managed memory without GC, and contextless switches (IMHO better than Rust):
http://concurrency.ch/Content/publications/Blaeser_Component...
Oberon doesn't provide much advantage over that.