mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-27 08:39:30 +00:00
Remove temporary test script
This commit is contained in:
parent
9028970440
commit
e1b0b17fc6
2 changed files with 2 additions and 8 deletions
6
test.ans
6
test.ans
|
|
@ -1,6 +0,0 @@
|
|||
$ f(a, b)
|
||||
|
||||
$ f(x)
|
||||
kk {x+1}
|
||||
|
||||
~ f(6)
|
||||
|
|
@ -64,9 +64,9 @@ table.sort(files)
|
|||
-- test script
|
||||
if args.script then
|
||||
local vm = anselme()
|
||||
local state, err = vm:loadfile("test.ans", "test")
|
||||
local state, err = vm:loadfile(args.script, "script")
|
||||
if state then
|
||||
local istate, e = vm:run("test")
|
||||
local istate, e = vm:run("script")
|
||||
if not istate then
|
||||
print("error", e)
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue