Support all ES6/7 features
Babel's REPL https://babeljs.io/repl/ supports ES6/7 features, but it cannot import packages from npm;
Tonic can require packages from npm, but is missing many ES6 features.
Can Tonic process notebooks with Babel to add support for the latest language features?

-
We now support most of these features, with the exception of import/export, which we can break out into a separate bug.
-
Barney Carroll commented
It's ironic that one can await a promise but not import a module :)
> Unfortunately, it's not as simple as plugging in Babel (which we already use). In order for Tonic to work the way it does, it has to perform a number of code transformations, and each of those must be made to work with all the features of the language we support.
What are the code transformations you use (Babel plugins?) which conflict with Babel es2015 presets?
-
AdminRoss Boucher (Admin, Tonic) commented
We actually support a number of ES6 features, and we plan to eventually support them all. Here's the current list:
https://tonicdev.uservoice.com/knowledgebase/articles/718374-supported-es6-featuresUnfortunately, it's not as simple as plugging in Babel (which we already use). In order for Tonic to work the way it does, it has to perform a number of code transformations, and each of those must be made to work with all the features of the language we support.