I really hope this is not vibe coded, because my criticism, if this wasn’t the honest work of a beginner, would be much more scathing than that and would confirm all my biases against LLMs.
I've been thinking along somewhat similar lines of a C but instead of a PDP 11 as the virtual machine, why not risc V.
Could of questions.
Do variables as registers get enforced at all? If you're going to have any type of function you need to that the first arg goes in the right place.
Second. One risc V instruction doesn't necessarily mean one risc V instruction. So I don't think you should be holding yourself to the same standard. This then makes while loops possible and easier to read if statements.
For me the benefit of something like this is knowing what is happening under the hood. I don't need to know that a statement will translate to one instruction, just that I understand what instructions it will actually expand to.