From e3200dece1ba596c84fe69640db683e0973e926b Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 2 Oct 2017 19:35:01 -0700 Subject: Updating comments. --- nomsu.moon | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'nomsu.moon') 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" -- cgit v1.2.3