buildfoundation / ketolang

Future of general purpose Сonfiguration languages. Side-effect-less dialect of Kotlin.
Apache License 2.0
81 stars 1 forks source link

Migrate code analysis to FIR #22

Open artem-zinnatullin opened 2 years ago

artem-zinnatullin commented 2 years ago

After multiple discussions with JetBrains people, I was explained that Kotlin compiler is getting rearchitectured, in particular IR (intermediate representation) is getting split into Frontend IR (FIR) and Backend IR parts.

Currently, Ketolang hooks into IrGenerationExtension.

Ketolang code analysis should be moved to FIR when FIR is stabilized (currently in Alpha):

Ketolang code generation (if added) should be moved to Backend IR:

See:

JB contact for this: Dmitry Novozhilov @demiurg906