mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-28 09:09:31 +00:00
Prefix type checkers with "is", stdlib cleanup
This commit is contained in:
parent
98917c2ca4
commit
7f71569e07
25 changed files with 163 additions and 160 deletions
|
|
@ -9,7 +9,7 @@ local function load(state, l)
|
|||
for _, m in ipairs(l) do
|
||||
local mod = require("anselme.stdlib."..m)
|
||||
if type(mod) == "string" then
|
||||
parser(mod, m..".ans"):eval(state)
|
||||
parser(mod, "stdlib/"..m..".ans"):eval(state)
|
||||
else
|
||||
define_lua(state, mod)
|
||||
end
|
||||
|
|
@ -22,8 +22,8 @@ return function(main_state)
|
|||
"tag",
|
||||
"conditionals",
|
||||
"base",
|
||||
"types",
|
||||
"boot",
|
||||
"typed",
|
||||
"type check",
|
||||
"number",
|
||||
"string",
|
||||
"symbol",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue