michaelstephendavies
michaelstephendavies
As far as I can tell, the package assumes all raw strings are regexes (other regex syntax like `[]+*` etc inside raw strings gets highlighted).
Along similar lines, I'd like to make commas at the end of lines in object literals optional: ``` var obj = { x: 1 y: (a) -> { // ......
If commas are mandatory in object literals, Spider could just allow a trailing comma on the last key and leave it out of the compiled code.
+1 Destructuring should be allowed in all of these, too. I'm not sure which of these are already supported: ``` fn f([x, y]) { ... } for [x, y] in...
In the node.js case, things like `require` and `module` and `exports` are not available in `this`. ``` console.log(require); console.log(module); console.log(exports); console.log(this.require); console.log(this.module); console.log(this.exports); ``` When run as a node script...
It does have a runtime: https://6to5.github.io/polyfill.html