mica 0.7.1

A simple, user-friendly, embeddable scripting language
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
local function factorial(n)
    local i = 1
    local x = 1
    while i <= n do
        x = x * i
        i = i + 1
    end
    return x
end

local result = 0
for _ = 1, 100000 do
    result = factorial(15)
end
print(result)