2011-07-04 16:20:46 +00:00
|
|
|
# TODO
|
|
|
|
|
2011-12-27 19:35:16 +00:00
|
|
|
-- error when assining a loop whose body doesn't end in expression
|
|
|
|
|
|
|
|
x = for x in y
|
|
|
|
y = 100
|
|
|
|
|
2011-11-21 01:52:19 +00:00
|
|
|
-- seems like running in moon messes up require order
|
|
|
|
|
2011-11-06 19:16:34 +00:00
|
|
|
- don't reuse _, put a local on it, so we don't keep around trash
|
|
|
|
|
2011-11-19 03:07:17 +00:00
|
|
|
-- swithc X with Func
|
2011-11-06 19:16:34 +00:00
|
|
|
|
2011-10-13 04:03:10 +00:00
|
|
|
- or= and=
|
|
|
|
|
2011-10-10 07:24:16 +00:00
|
|
|
- a do block for making a quick anon func and calling it
|
|
|
|
|
2011-10-02 05:20:29 +00:00
|
|
|
- error with stray comma at end of line
|
|
|
|
- ugly error if attempting to assign to rvalue like #hello
|
|
|
|
|
2011-10-01 18:46:47 +00:00
|
|
|
- dump node in mark, see why values are being parsed multiple times
|
|
|
|
|
2011-07-16 17:31:12 +00:00
|
|
|
- varargs that get put in a nested generated function aren't valid anymore:
|
2011-07-10 18:09:34 +00:00
|
|
|
|
2011-07-16 17:31:12 +00:00
|
|
|
- class expressions, x = class extends Hello do new: => print "hello"
|
2011-07-04 16:20:46 +00:00
|
|
|
|
|
|
|
* multiline comments
|
2011-07-16 19:35:43 +00:00
|
|
|
* table slices (almost)
|
2011-07-04 16:20:46 +00:00
|
|
|
* add continue keyword (ouch)
|
|
|
|
|
|
|
|
* combine for and if line decorators
|
|
|
|
|
|
|
|
* elseif with value that inserts lines
|
|
|
|
- need to decompose elif into if inside else
|
|
|
|
|
2011-11-21 01:52:19 +00:00
|
|
|
* export later?
|
2011-07-04 16:20:46 +00:00
|
|
|
|
|
|
|
x = 232
|
|
|
|
export x
|
|
|
|
|
|
|
|
|
|
|
|
* allow return anywhere in block
|
|
|
|
|
2011-08-11 04:16:41 +00:00
|
|
|
* any/every keywords for comprehensions? (what about iterators)
|
2011-07-28 05:35:45 +00:00
|
|
|
|
2011-08-11 04:16:41 +00:00
|
|
|
not working right:
|
2011-07-28 05:35:45 +00:00
|
|
|
|
2011-08-11 04:16:41 +00:00
|
|
|
double_args = (...) ->
|
|
|
|
[x * 2 for x in *{...}]
|
2011-07-28 05:35:45 +00:00
|
|
|
|
2011-08-11 04:16:41 +00:00
|
|
|
* let array items in table be defined without {} when indented
|
2011-07-30 08:32:58 +00:00
|
|
|
|