Alon Gubkin
Alon Gubkin
Add generators support to Spider. ``` fn inorder(node) { if (node) { yield* inorder(node.left); yield t.label; yield* inorder(node.right); } } ``` compiles to: ``` function* inorder(node) { if (node) {...
[6to5](https://6to5.github.io/index.html) is an ES6 to ES5 compiler. But unlike Traceur compiler, it outputs clean code without runtime. We should use it instead of Traceur. https://6to5.github.io/differences.html
Add native require support to Spider. #### Proposed Syntax ``` require "util" require ( "vm", "lodash" as _, "jashkenas/backbone" // GitHub repo ) ``` is compiled to: ``` var util...
Add support for computed property names: ``` var x = 0; var obj = { [x]: 'hello' }; expect(obj[0]).to.be.eql('hello'); ```
``` var v = x if a; ``` compiles to: ``` var v = x if a else null; ``` which compiles to: ``` var v = a ? x...
The abstract modifier indicates that a function has a missing or incomplete implementation. Useful for inheritance. ``` abstract fn Animal() { } fn Snake() extends Animal() { } var snake...
Create Spider syntax highlighting support for: - [~~Sublime Text~~](https://github.com/Namek/Spider-Sublime-Plugin) - Atom - [~~Vim~~](https://github.com/ZucchiniZe/vim-spider) - [~~Notepad++~~](https://github.com/Namek/NotepadPlusPlus-SpiderScript-Plugin) - WebStorm - Visual Studio - Others?
A programming language is worthless if there isn't a large community around it. In addition, right now I'm the only contributor, and Spider would probably need _at least_ more 3-4...