moonscript/todo

43 lines
956 B
Plaintext
Raw Normal View History

2011-07-04 16:20:46 +00:00
# TODO
2011-07-10 18:09:34 +00:00
- use `with` as an arugment to function (normal expression)
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
* issues with whitespace on the end of lines
* default arguments
* multiline comments
* table slices
* add a proper return statement
* add continue keyword (ouch)
* vim syntax file
* combine for and if line decorators
* elseif with value that inserts lines
- need to decompose elif into if inside else
* export keyword, makes it so local is left off when variable is declared
- or copies to global var when local already exists
- or used for assignment to assign global var
export a = -> "hello"
or
x = 232
export x
or
export x
x = 3434
* allow return anywhere in block
* upercase constants and capital letter variables should automatically be exported (in the global scope?)
2011-07-16 17:31:12 +00:00
* any/every keywords for comprehensions?