Experimenting with the Kotlin Compiler
summary
Shows how to set up IntelliJ to build the Kotlin repo, adds a class delegate soft keyword, swaps the order of field and delegate-expression generation so delegation can reference constructor fields, and modifies tokens, PSI, resolution, IR and back-end descriptors. Runs a locally bundled IntelliJ to test changes; the prototype works locally but pull request is not merged. The effort takes about three to four weeks of focused work and builds vary between six and twenty minutes.
AI-written summary · about
chapters (11)
- 0:00Start
- 5:35# Kotlin is open source!
- 6:28To build Kotlin, you need different JDK versions!
- 9:21# The Kotlin Compiler
- 11:47Parser
- 12:37Abstract Syntax Tree
- 24:34ConstructorCodegen.java
- 28:52Generate Member Initializers
- 29:121. Generate Delegate Expressions 2. Generate Fields
- 35:20# Awesome Resources
- 37:42Experimenting with the Kotlin Compiler








