3rd implementation strategy of active expressions, via a babel transformation
Live editable at http://astexplorer.net/#/h1zFzvogmm/20
Transforms
somethingto
something else$ npm install babel-plugin-aexpr-source-transformation.babelrc
{
"plugins": ["aexpr-source-transformation"]
}$ babel --plugins aexpr-source-transformation script.jsrequire("babel-core").transform("code", {
plugins: ["aexpr-source-transformation"]
});