1
0
Fork 0
mirror of https://github.com/Reuh/anselme.git synced 2025-10-27 16:49:31 +00:00

stdlib cleanup

This commit is contained in:
Étienne Fildadut 2024-01-04 20:45:23 +01:00
parent dac5b74fa6
commit a212dd7fd1
17 changed files with 212 additions and 190 deletions

View file

@ -2,6 +2,8 @@ local ast = require("anselme.ast")
local Boolean, Number = ast.Boolean, ast.Number
return {
{ "pi", Number:new(math.pi) },
{
"_<_", "(a::number, b::number)",
function(state, a, b)
@ -64,6 +66,4 @@ return {
end
end
},
{ "pi", Number:new(math.pi) }
}