Kotlin Compiler IR & FIR pdf <https://ssw.jku.at/...
# compiler
c
👏 4
🏆 4
👀 2
y
I absolutely need to read this later! Just a tiny suggestion from skimming through the abstract: It might be useful to integrate the Web UI into an IDEA plugin, especially w.r.t. references to source code.
j
Yeah there's a FIR plugin, but I haven't used it in so long I have no idea if it still works. Would be nice to have it as a mode other than its tree view.
Beyond that, I would say ditch Graphviz. It's really, really bad at layout. I use D2 for almost everything now, but you could also look at https://spidermonkey.dev/blog/2025/10/28/iongraph-web.html which is a similar tool for Firefox's JS IR engine.
Really awesome read, though! Excited for more things in this space.
d
Great work! Is the source code/built plugin is published somewhere? I failed to find links in the thesis.
➕ 1
j
d
A bit late, but I finally published the source code for the thesis project on GitHub: github.com/Davidoff535/Kotlin-Compiler-IR-Visualizer.git @dmitriy.novozhilov in case you’re still interested! Thanks again for the feedback here!