aboutsummaryrefslogtreecommitdiff
path: root/nomsu.lua
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2018-11-06 15:13:55 -0800
committerBruce Hill <bruce@bruce-hill.com>2018-11-06 15:15:14 -0800
commitc8ccbe5f42b5a197010b5ee95491dce5b9bbcbf4 (patch)
treedb2259bad177e558067a7cc2ea09836749242009 /nomsu.lua
parent0f17c5eb9ac4660f2f969bd1e67af42713e45eac (diff)
Removed utils.lua, simplified some metaprogramming stuff, added native support
for calling functions with (%a %b %c) instead of (call %a with [%b, %c]), renamed _List -> List, _Dict -> Dict, improved example code.
Diffstat (limited to 'nomsu.lua')
-rw-r--r--nomsu.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/nomsu.lua b/nomsu.lua
index bd1ee85..e7f8fdd 100644
--- a/nomsu.lua
+++ b/nomsu.lua
@@ -131,7 +131,7 @@ if not args or args.help then
os.exit(EXIT_FAILURE)
end
local nomsu = NomsuCompiler
-nomsu.environment.arg = NomsuCompiler.environment._List(args.nomsu_args)
+nomsu.environment.arg = NomsuCompiler.environment.List(args.nomsu_args)
if args.version then
nomsu:run([[(: use "core"; say (Nomsu version))]])
os.exit(EXIT_SUCCESS)