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

Add alias() to define alias after definition; add frFR language file

This commit is contained in:
Étienne Fildadut 2021-06-05 01:30:40 +02:00
parent 198c06e2e8
commit 61e3143e9e
6 changed files with 91 additions and 23 deletions

View file

@ -75,6 +75,9 @@ table.sort(files)
-- test script
if args.script then
local vm = anselme()
if args.lang then
assert(vm:loadlanguage(args.lang))
end
local state, err = vm:loadfile(args.script, "script")
if state then
local istate, e = vm:run("script")