Conversation

I only wanted to learn how (dependent) type systems work, but ended up prototyping my own programming language inspired by and . It currently only supports basic expressions and type inference, but may become more useful in the future
Quote Tweet
Hello, world! Star and watch our repository on GitHub for imminent updates github.com/kara-lang/Kara
1
14
Why dependent types? If all works well, I want to prevent out of bounds access in arrays at compile-time. That is, this will not type check in (a future version of) : let a1 = [1,2,3] a1[3] // type error, out of bounds let a2 = [4,5,6] (a1 + a2)[6] // type error, OOB
3
1
Show replies