diff --git a/nomsu.moon b/nomsu.moon index 2ef3c6c..7ae6f89 100755 --- a/nomsu.moon +++ b/nomsu.moon @@ -28,14 +28,11 @@ do -- TODO: -- consider non-linear codegen, rather than doing thunks for things like comprehensions -- improve indentation of generated lua code --- better scoping? -- better error reporting -- type checking? --- Fix compiler bug that breaks when file ends with a block comment -- Add compiler options for optimization level (compile-fast vs. run-fast, etc.) -- Do a pass on all actions to enforce parameters-are-nouns heuristic -- Maybe do some sort of lazy definitions of actions that defer until they're used in code --- Do automatic "local" detection of new variables and declare them as locals like moonscript does lpeg.setmaxstack 10000 -- whoa {:P,:R,:V,:S,:Cg,:C,:Cp,:B,:Cmt} = lpeg