| ▲ | Peaches4Rent 11 hours ago | |
Apologies for the noob question, but what is an IR? | ||
| ▲ | dnautics 7 hours ago | parent [-] | |
intermediate representation. attempting to analyze zig code directly would be too hard (especially with comptime). on the way to the compiler backend, the compiler builds a simplified representation that only has "actually existing functions" and is very straightforward, e.g.
you can see how building a data dependency graph from this would be easy. | ||