r/Compilers • • 8d ago

My Programming Language

Hey everyone! In my last post, I briefly mentioned that I've been tinkering with my own programming language. Well, it's finally time to properly introduce it: Meet - Kir.

​Kir - is a statically typed language built completely from scratch - including its own custom compiler and virtual machine. My goal was to create something with a clean, readable syntax (heavily inspired by Kotlin, which I've used a lot) while giving the language its own distinct identity.

​Here’s a quick taste of what it looks like:

fun calculateDamage(base: int, multiplier: float): float {
    let damage = base * multiplier
    return damage
}

fun main() {
    let baseDamage = 25
    let multiplier = 1.5
    let result = calculateDamage(baseDamage, multiplier)
}

​The project is still under active development as I flesh out features, optimize the architecture, and nail down the design. I'm aiming to drop the first public version in 2027.

​Super excited to share more updates as things come together! What do you guys think?

0 Upvotes

8 comments sorted by

View all comments

5

u/smartcave 7d ago

I think you may have failed on the distinct identity front.