An open API service indexing awesome lists of open source software.

https://github.com/cronokirby/iku

WIP programming language
https://github.com/cronokirby/iku

compiler interpreter programming-language

Last synced: 11 months ago
JSON representation

WIP programming language

Awesome Lists containing this project

README

          

# Iku (行く)

I like some things about go, but not others, and this is kind of my way of fixing those.

## Sample Code

```
// Comments
func foo(a I32, b I32) {
x I32 := 3
y := 3
a + b
}

struct S {
first I32
second I32
}

impl S {
func new(a I32) S {
S { first a, second a }
}
}

enum E {
A(I32)
B
}

func main() {
e1 := E.A(3)
e2 := E.B
s1 := S { first 3, second 4 }
match e1 {
E.A(_) => 4
E.B => s1.second
}
}
```