diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2018-11-08 15:23:22 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2018-11-08 15:24:15 -0800 |
| commit | 652c29bdef1f0991cc13bef59d6dc78b657ae9a4 (patch) | |
| tree | 8e335399e77b1893657b9fa985db0738034daac3 /containers.lua | |
| parent | 1f3660f393c1a17988a15b89f18686b28e51a9e7 (diff) | |
Major overhaul, splitting nomsu_compiler into nomsu_environment,
nomsu_compiler, and nomsu_decompiler. Also added comprehensions.
Diffstat (limited to 'containers.lua')
| -rw-r--r-- | containers.lua | 4 |
1 files changed, 3 insertions, 1 deletions
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) |
