"The one IR to rule them all."
More details here https://github.com/nim-lang/RFCs/issues/516
And please don't tell me to "just use SSA already", SSA is a complex beast compared to what I'm suggesting. ;-)
Is this IR (intermediate language) a first step to develop a standalone native compiler in near future?
What does the IR mean at the moment?
Nim-code => (Nim Compiler) => AST and IR => (Nim Copiler) => C/C++/JS => (GCC for C/C++) => Native Code
"mid-level" IR:s like this one typically serve to make language-specific optimizations and checks easier to reason about, which seems to be the main rationale..
If you're looking for a native nim compiler: https://github.com/arnetheduck/nlvm