moonscript/thoughts

42 lines
748 B
Plaintext
Raw Normal View History

2011-07-04 16:20:46 +00:00
# TODO
#
#
#
-- local * and local ^
2011-07-04 16:20:46 +00:00
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
-- swithc X with Func
2011-11-06 19:16:34 +00:00
2011-10-13 04:03:10 +00:00
- or= and=
- error with stray comma at end of line
2011-07-04 16:20:46 +00:00
* multiline comments
* table slices (almost)
2011-07-04 16:20:46 +00:00
* combine for and if line decorators
* export later? nah
2011-07-04 16:20:46 +00:00
x = 232
export x
* allow return anywhere in block
* any/every keywords for comprehensions? (what about iterators)
2011-07-28 05:35:45 +00:00
2012-10-30 16:25:23 +00:00
* let array items in table be defined without {} when indented (no, too similar to arguments)
2012-10-30 16:25:23 +00:00
-- for searching? for returning to accumulator early?
x = for thing in *things
if is_important thing
break thing
-- all function literals have a string that is their function definition