File tree Expand file tree Collapse file tree 1 file changed +2
-21
lines changed
Expand file tree Collapse file tree 1 file changed +2
-21
lines changed Original file line number Diff line number Diff line change 11# TODO
22
3- -- error when assining a loop whose body doesn't end in expression
4-
5- x = for x in y
6- y = 100
7-
83-- seems like running in moon messes up require order
94
105- don't reuse _, put a local on it, so we don't keep around trash
@@ -18,21 +13,13 @@ x = for x in y
1813- error with stray comma at end of line
1914- ugly error if attempting to assign to rvalue like #hello
2015
21- - dump node in mark, see why values are being parsed multiple times
22-
23- - varargs that get put in a nested generated function aren't valid anymore:
24-
2516- class expressions, x = class extends Hello do new: => print "hello"
2617
2718* multiline comments
2819* table slices (almost)
29- * add continue keyword (ouch)
3020
3121* combine for and if line decorators
3222
33- * elseif with value that inserts lines
34- - need to decompose elif into if inside else
35-
3623* export later?
3724
3825 x = 232
@@ -43,15 +30,9 @@ x = for x in y
4330
4431* any/every keywords for comprehensions? (what about iterators)
4532
46- * let array items in table be defined without {} when indented
47-
48-
49- * allow dot access with names that are keywords: hello.then
50-
51- * convert tree transformer to be depth first instead of breadth first (lazy)
52-
33+ * let array items in table be defined without {} when indented (no, too similar to arguments)
5334
54- -- for searching?
35+ -- for searching? for returning to accumulator early?
5536x = for thing in *things
5637 if is_important thing
5738 break thing
You can’t perform that action at this time.
0 commit comments