moonscript/todo
2011-07-04 09:20:46 -07:00

50 lines
954 B
Plaintext

# TODO
- add all lines through Block
- add_line should only add one line at a time
- add_block?
* issues with whitespace on the end of lines
* default arguments
* multiline comments
* table slices
* chains that don't end in funcall need tmp assignment
* 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
* these should work:
x = 5 + if something then 40 else 343
x =
hello: if something 343 else 343
* allow return anywhere in block
* upercase constants and capital letter variables should automatically be exported (in the global scope?)