aboutsummaryrefslogtreecommitdiff
path: root/nomsu_environment.moon
diff options
context:
space:
mode:
Diffstat (limited to 'nomsu_environment.moon')
-rw-r--r--nomsu_environment.moon2
1 files changed, 2 insertions, 0 deletions
diff --git a/nomsu_environment.moon b/nomsu_environment.moon
index 37f239d..142abdb 100644
--- a/nomsu_environment.moon
+++ b/nomsu_environment.moon
@@ -48,6 +48,8 @@ nomsu_environment = Importer{
lpeg:lpeg, re:re, Files:Files,
:SyntaxTree, TESTS: Dict({}), globals: Dict({}),
:LuaCode, :NomsuCode, :Source
+ LuaCode_from: ((src, ...)-> LuaCode\from(src, ...)),
+ NomsuCode_from: ((src, ...)-> NomsuCode\from(src, ...)),
SOURCE_MAP: Importer({})
-- Nomsu functions: