2 sandbox := import("core/sandbox")
4 if(system.argv.len() > 1)
6 local file = system.argv[1]
7 local nargv = system.argv
15 "system": {"argv": nargv},
19 local fn = system.loadfile(file)
20 local sb = sandbox(env)
25 println("Cannot evaluate %s: %s".fmt(file.quote(), err))
30 println("usage: %s <filename> [<args>, ...]".fmt(system.argv[0]))