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:
parent
9d4e732034
commit
25ded7a3c8
2 changed files with 17 additions and 7 deletions
|
|
@ -1,18 +1,12 @@
|
||||||
-- anselme module
|
-- anselme module
|
||||||
local anselme = {
|
local anselme = {
|
||||||
-- version
|
-- version
|
||||||
version = "0.12.0",
|
version = "0.13.0",
|
||||||
--- currently running interpreter
|
--- currently running interpreter
|
||||||
running = nil
|
running = nil
|
||||||
}
|
}
|
||||||
package.loaded[...] = anselme
|
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
|
-- load libs
|
||||||
local preparse = require((...):gsub("anselme$", "parser.preparser"))
|
local preparse = require((...):gsub("anselme$", "parser.preparser"))
|
||||||
local postparse = require((...):gsub("anselme$", "parser.postparser"))
|
local postparse = require((...):gsub("anselme$", "parser.postparser"))
|
||||||
|
|
|
||||||
16
ideas.txt
Normal file
16
ideas.txt
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
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.
|
||||||
|
|
||||||
|
TODO: test reacheability of script paths
|
||||||
|
TODO: functions with default value for arguments / named parameters. Use = as name-value delimiter.
|
||||||
|
TODO: allow passing varargs as is to another function call
|
||||||
|
|
||||||
|
Symbols still available:
|
||||||
|
`
|
||||||
|
'
|
||||||
|
_
|
||||||
|
¤ £ €
|
||||||
|
?
|
||||||
Loading…
Add table
Add a link
Reference in a new issue