mathic 0.2.0

A compiler with builtin support of symbolic operations, built with LLVM/MLIR
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
df main() i64 {
    return add(five(), three());
}

df add(a: i64, b: i64) i64 {
    return a + b;
}

df five() i64 {
    return 5;
}

df three() i64 {
    return 3;
}