`compiler/depends.nim` is a minimal "backend" pass, or maybe look at 
`compiler/jsgen.nim` and modify it heavily. You can import the compiler as a 
library and add a custom backend. It's not that complex, when you get stuck, 
join our IRC channel and ask for help over there.

Reply via email to