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
struct Counter {
    value: i64
}

df main() i64 {
    let counter: Counter = Counter { value: 5 };
    counter.value = 42;
    return counter.value;
}