Tagged articles
2 articles
Page 1 of 1
Sohu Tech Products
Sohu Tech Products
Apr 2, 2025 · Backend Development

Compiling Kotlin to Jack Bytecode: Adding a New Kotlin Target

The article shows how to extend Kotlin by adding a Jack‑bytecode backend, detailing the required standard‑library, CLI module, and IR‑to‑Jack transformer implementation, and demonstrates compiling a simple Kotlin program to Jack bytecode that runs correctly on the Nand2Tetris virtual machine.

IR transformationJack bytecodeKotlin
0 likes · 11 min read
Compiling Kotlin to Jack Bytecode: Adding a New Kotlin Target