Ah, okay. It looks like you're taking a fairly C-like language and transforming it to C--I'd call this a transpiler rather than a compiler. You're not wrong to call it a compiler, but it's a pretty noncentral example of a compiler.
Congrats on at least having an emitter, but I'm still searching for an article that shows how to emit assembly of any kind.
Congrats on at least having an emitter, but I'm still searching for an article that shows how to emit assembly of any kind.