Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
31 lines (20 sloc)
489 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # TODO | |
| # | |
| # | |
| # | |
| - don't reuse _, put a local on it, so we don't keep around trash | |
| -- swithc X with Func | |
| - error with stray comma at end of line | |
| * multiline comments | |
| * table slices (almost) | |
| * combine for and if line decorators | |
| * allow return anywhere in block | |
| -- all function literals have a string that is their function definition | |
| -- super should work here: | |
| thing = Thing! | |
| thing.method = -> | |
| super 1,2,3 | |
| -- goes to | |
| thing.method = function(self) do | |
| self.__class:method(1,2,3) | |
| end |