aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xnomsu.moon4
1 files changed, 1 insertions, 3 deletions
diff --git a/nomsu.moon b/nomsu.moon
index 7f75496..e6afe7f 100755
--- a/nomsu.moon
+++ b/nomsu.moon
@@ -22,8 +22,7 @@ colored = setmetatable({}, {__index:(_,color)-> ((msg)-> colors[color]..msg..col
-- TODO:
-- use actual variables instead of a vars table
--- have macros return (statements, expression)
--- consider non-linear codegen, like with moonscript's comprehensions, rather than doing thunks
+-- consider non-linear codegen, rather than doing thunks for things like comprehensions
-- improve indentation of generated lua code
-- provide way to run precompiled nomsu -> lua code from nomsu
-- better scoping?
@@ -461,7 +460,6 @@ class NomsuCompiler
return concat(bits)
replaced_vars: (tree, vars)=>
- -- TODO: consider making a pure function version of this that copies instead of modifying
if type(tree) != 'table' then return tree
switch tree.type
when "Var"