mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-27 16:49:31 +00:00
stdlib cleanup
This commit is contained in:
parent
dac5b74fa6
commit
a212dd7fd1
17 changed files with 212 additions and 190 deletions
|
|
@ -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) }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue