From 652c29bdef1f0991cc13bef59d6dc78b657ae9a4 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 8 Nov 2018 15:23:22 -0800 Subject: Major overhaul, splitting nomsu_compiler into nomsu_environment, nomsu_compiler, and nomsu_decompiler. Also added comprehensions. --- containers.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'containers.lua') diff --git a/containers.lua b/containers.lua index 9f8fa46..17d37a2 100644 --- a/containers.lua +++ b/containers.lua @@ -424,7 +424,9 @@ do byte(tostring(self), start, stop) }) end, - [as_lua_id("with 1 ->")] = gsub, + [as_lua_id("with 1 ->")] = function(...) + return (gsub(...)) + end, bytes = function(self) return List({ byte(tostring(self), 1, -1) -- cgit v1.2.3