2011-07-04 16:20:46 +00:00
|
|
|
# TODO
|
2012-11-29 17:48:08 +00:00
|
|
|
#
|
|
|
|
#
|
|
|
|
#
|
|
|
|
|
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-02 05:20:29 +00:00
|
|
|
- error with stray comma at end of line
|
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
|
|
|
|
|
|
|
* combine for and if line decorators
|
|
|
|
|
|
|
|
* allow return anywhere in block
|
|
|
|
|
2013-12-30 09:38:22 +00:00
|
|
|
-- all function literals have a string that is their function definition
|
2011-07-28 05:35:45 +00:00
|
|
|
|
2013-12-30 09:38:22 +00:00
|
|
|
-- super should work here:
|
2012-10-27 22:51:34 +00:00
|
|
|
|
2013-12-30 09:38:22 +00:00
|
|
|
thing = Thing!
|
|
|
|
thing.method = ->
|
|
|
|
super 1,2,3
|
2012-10-27 22:51:34 +00:00
|
|
|
|
2013-12-30 09:38:22 +00:00
|
|
|
-- goes to
|
2012-10-27 22:51:34 +00:00
|
|
|
|
2013-12-30 09:38:22 +00:00
|
|
|
thing.method = function(self) do
|
|
|
|
self.__class:method(1,2,3)
|
|
|
|
end
|