diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2017-10-02 19:35:01 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2017-10-02 19:35:01 -0700 |
| commit | e3200dece1ba596c84fe69640db683e0973e926b (patch) | |
| tree | 06e63dcc08b37697d03154394b4f08ee1565148b /nomsu.moon | |
| parent | d477865b92ab840d459eb9b5be91b70bffde7a7b (diff) | |
Updating comments.
Diffstat (limited to 'nomsu.moon')
| -rwxr-xr-x | nomsu.moon | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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" |
