Sohu Tech Products
Apr 9, 2025 · Backend Development
Compiling Kotlin to Jack Bytecode: Adding a Jack Target to the Kotlin Compiler
The article shows how to extend the Kotlin compiler with a new Jack target by reusing its front‑end, adding a CLI module and a backend that transforms Kotlin IR into Jack bytecode, then running the generated .jack files on the Nand2Tetris virtual machine.
IR transformationJack bytecodeKotlin
0 likes · 12 min read