Re:Try JavaScript macro expansion using Sweet.js in the browser
by kibwen on Thursday January 17, 2013 @08:54AM
(#5072622)
I 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.
[ Parent
| on HN ]
Re:Try JavaScript macro expansion using Sweet.js in the browser
by jonahkagan on Thursday January 17, 2013 @10:45AM
(#5073223)
> 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).