aboutsummaryrefslogtreecommitdiff
path: root/nomsu.moon
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2017-10-02 19:35:01 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2017-10-02 19:35:01 -0700
commite3200dece1ba596c84fe69640db683e0973e926b (patch)
tree06e63dcc08b37697d03154394b4f08ee1565148b /nomsu.moon
parentd477865b92ab840d459eb9b5be91b70bffde7a7b (diff)
Updating comments.
Diffstat (limited to 'nomsu.moon')
-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"