sharp 0.1.0

A modern, statically-typed programming language with Python-like syntax, compiled to native code via LLVM. Game engine ready!
1
2
3
4
5
6
7
8
9
10
11
12
13
struct Vector2 {
    x: float
    y: float
}

struct GameObject {
    position: Vector2
    health: int
}

def main() -> int {
    return 42
}