mamba 0.3.6

A transpiler which converts Mamba files to Python 3 files
Documentation
1
2
3
4
5
6
7
8
9
# taylor is immutable, its value does not change during execution
def fin taylor := 7

# the sin function is pure, its output depends solely on the input
def pure sin(x: Int) =>
    def ans := x
    for i in 1 ..= taylor .. 2 do
        ans := ans + (x ^ (i + 2)) / (factorial (i + 2))
    ans