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

Bump version, move TODO to notes.txt

This commit is contained in:
Étienne Fildadut 2021-04-08 18:01:55 +02:00
parent 9d4e732034
commit 25ded7a3c8
2 changed files with 17 additions and 7 deletions

View file

@ -1,18 +1,12 @@
-- anselme module
local anselme = {
-- version
version = "0.12.0",
version = "0.13.0",
--- currently running interpreter
running = nil
}
package.loaded[...] = anselme
-- TODO: improve type checking.
-- Right now, there is some basic type checking done at parsing - but since Lua and Anselme functions may not always define the type of
-- their parameters and return value, a lot of checks are skipped ("undefined argument" type).
-- Probably won't be able to remove them completely (since lists can have mixed types, etc.), but would be good to limit them.
-- Ideally, we'd avoid runtime type checking.
-- load libs
local preparse = require((...):gsub("anselme$", "parser.preparser"))
local postparse = require((...):gsub("anselme$", "parser.postparser"))