aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nomsu.lua2
-rwxr-xr-xnomsu.moon2
-rw-r--r--nomsu_tree.lua2
-rw-r--r--nomsu_tree.moon2
4 files changed, 4 insertions, 4 deletions
diff --git a/nomsu.lua b/nomsu.lua
index 85a1c85..0c1ccbb 100644
--- a/nomsu.lua
+++ b/nomsu.lua
@@ -32,7 +32,7 @@ end
local debug_getinfo = debug.getinfo
local Nomsu, Lua, Source
do
- local _obj_0 = require("lua_obj")
+ local _obj_0 = require("code_obj")
Nomsu, Lua, Source = _obj_0.Nomsu, _obj_0.Lua, _obj_0.Source
end
FILE_CACHE = setmetatable({ }, {
diff --git a/nomsu.moon b/nomsu.moon
index 06d128a..c1ba9de 100755
--- a/nomsu.moon
+++ b/nomsu.moon
@@ -26,7 +26,7 @@ export colored
colored = setmetatable({}, {__index:(_,color)-> ((msg)-> colors[color]..tostring(msg or '')..colors.reset)})
{:insert, :remove, :concat} = table
debug_getinfo = debug.getinfo
-{:Nomsu, :Lua, :Source} = require "lua_obj"
+{:Nomsu, :Lua, :Source} = require "code_obj"
-- TODO:
-- consider non-linear codegen, rather than doing thunks for things like comprehensions
diff --git a/nomsu_tree.lua b/nomsu_tree.lua
index f7a56d7..3d09d5c 100644
--- a/nomsu_tree.lua
+++ b/nomsu_tree.lua
@@ -11,7 +11,7 @@ do
end
local Lua, Nomsu, Location
do
- local _obj_0 = require("lua_obj")
+ local _obj_0 = require("code_obj")
Lua, Nomsu, Location = _obj_0.Lua, _obj_0.Nomsu, _obj_0.Location
end
local MAX_LINE = 80
diff --git a/nomsu_tree.moon b/nomsu_tree.moon
index 2cf0777..e2b2c74 100644
--- a/nomsu_tree.moon
+++ b/nomsu_tree.moon
@@ -6,7 +6,7 @@ lpeg = require 'lpeg'
{:repr, :stringify, :min, :max, :equivalent, :set, :is_list, :sum} = utils
immutable = require 'immutable'
{:insert, :remove, :concat} = table
-{:Lua, :Nomsu, :Location} = require "lua_obj"
+{:Lua, :Nomsu, :Location} = require "code_obj"
MAX_LINE = 80 -- For beautification purposes, try not to make lines much longer than this value