Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There are many kinds of IRs in compilers - I'm not familiar with how Rust works, but for example GCC has an intermediate representation called GENERIC, which is a C-like language that preserves the scoping and loops and branches of the inputted C code.

Lower level representations also exist - since C has goto, you can pretty much turn any SSA IR to C, but the end result won't be readable.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: