new keyword. It should be easy to make to objects inherit from each other… without tons of boilerplate (ala ES5).
RedScript also adds in some sugar with things like arrow functions, do/end block aliases, ruby like comparison operators, automatic bracket insertion, bracket-less while/for/if, and some sugar for ES5 objects.
Some features cannot be implemented right now without lexical analysis and I don’t have enough time to implement a proper parser, lexer and BNF. At the moment, the compiler is just using regular expressions to match and replace certain tokens. Due to this, early versions of RedScript will have some limitations.
subject to change
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34