-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add babelify to browserify to enable ES6 #239
Comments
One possible complication is that ES6 syntax may not play nicely with our sweet.js integration. |
sweet.js is refactoring on Babel. sweet-js/sweet-core#485 |
We can independently discuss whether to enable ES6 for the implementation and for webppl programs. (As I understand it, both are blocked right now by incompatibility with the |
In general I think that's right, since once we have HMC (#81) we'll be expanding macros in both. I like the |
Node already supports many ES6 features. If we add babelify to our browserify transform, we can start using these features in our code. I've been using ES6 for another project and I think it allows for significantly more readable code in some situations.
ESLint (#225) is compatible with ES6 (using babel-eslint).
The text was updated successfully, but these errors were encountered: