MLH-Fellowship / babel-sandbox

Babel repl-like codesandbox: check out link =>
https://codesandbox.io/s/github/babel/sandboxes
MIT License
6 stars 3 forks source link

Add AST, plugins, and Time Travel integration #115

Closed barronwei closed 4 years ago

barronwei commented 4 years ago

This pull request offers a heuristic for AST, plugins, and Time Travel integration as well as fixes related to the Output view.

For the AST parsing, only a subset of predefined plugins and presets are supported by Babel parser per this. Additionally, because Time Travel does not directly provide the ordering of this subset of plugins and most of the plugins appear on the Program iteration, the AST just incorporates all plugins on the main Output and the first and last iterations of Time Travel.

This closes #87, #88, #94, and #108.