aboutsummaryrefslogtreecommitdiff
path: root/nomsu_compiler.moon
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2019-01-14 15:42:48 -0800
committerBruce Hill <bruce@bruce-hill.com>2019-01-14 15:43:24 -0800
commitc1c32688a4afc43f6addb99b8b5fa878944a70e3 (patch)
treec886f21b5b08a9053aa74fcba4b241dae5ede76d /nomsu_compiler.moon
parent2309b696fc34b24f05f6658b94f9105ca8ee76e4 (diff)
Overhaul in progress, mostly working. Moved all the nomsu packages into
lib/, including core/*. Changes to how nomsu environments and importing work.
Diffstat (limited to 'nomsu_compiler.moon')
-rw-r--r--nomsu_compiler.moon2
1 files changed, 2 insertions, 0 deletions
diff --git a/nomsu_compiler.moon b/nomsu_compiler.moon
index f3530e9..fd7403f 100644
--- a/nomsu_compiler.moon
+++ b/nomsu_compiler.moon
@@ -68,6 +68,8 @@ compile = (tree)=>
return ret
if ret != tree
return @compile(ret)
+ elseif tree.stub == "1 if 2 else"
+ require('ldt').breakpoint!
lua = LuaCode\from(tree.source)
lua\add((stub)\as_lua_id!,"(")