6 ms·
Someone should implement CoffeeScript as macros. That would get everyone's attention.
by jonahkagan 14y ago
Someone should implement CoffeeScript as macros. That would get everyone's attention.
- jlongster 14y agoNo, that would get all the CoffeeScripters attention. I believe it is slated though. I much prefer raw javascript + macros. In my opinion it kind of negates some of point of coffeescript since you can implement the few key syntax improvements.
- jonahkagan 14y agoYeah, that's a good point, but if you got all the CoffeeScripters' attention and then showed them that CoffeeScript is just one possible improved syntax...
- kibwen 14y agoI was speaking to one of the Sweet.js developers about this, and apparently the only obstacle is that Sweet.js doesn't have the ability to make whitespace significant. Other than that, it should be entirely possible.
- jonahkagan 14y ago> Sweet.js doesn't have the ability to make whitespace significant Feature, not a bug? But yeah, I guess that would be an impediment to implementing CoffeeScript. I'd like to see some of the CoffeeScript syntax implemented but without whitespace dependency (so it would have to be a modified version of the syntax).