Kotlin Compiler in C

Overview

A compiler implementation written in C that translates a subset of Kotlin into executable code. The project covers the full compilation pipeline—tokenization, parsing, type checking, and code generation—demonstrating how source code is transformed through multiple stages into runnable instructions. Built as a learning exercise to understand language design, parsing techniques, and the mechanics of how compilers actually work.

Implemented Features

  • Tokenization and parsing for a simplified Kotlin-style syntax
  • Support for variables, functions, conditionals, and loops
  • Basic execution flow and dynamic typing support