Skip to content
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

Engine mode #47

Merged
merged 7 commits into from
Jul 14, 2016
Merged

Engine mode #47

merged 7 commits into from
Jul 14, 2016

Conversation

matAtWork
Copy link
Collaborator

  • Add 'engine' mode that only transpiles the nodent ES7 extensions (async get x(){}, async throw x, async return and await anywhere). Standard ES7 async/await constructs are passed through the compiler unchanged to be run by the underlying engine (e.g. Chrome v53 or Edge v14).
  • Implement parsing for proposed ES7 Object spread var {a,b,...x} = y ; used in Babel (see I think fast-async and rest-spread is not incompatible fast-async#6)

MatAtBread and others added 7 commits July 12, 2016 22:58
…or an underlying ES7 engine, transpiling only the nodent-specific extensions such as 'await' anywhere and 'async return/throw'
Add 'engine' mode that _only_ transpiles the nodent ES7 extensions
(`async get x(){}`, `async throw x`, `async return` and `await`
anywhere). Standard ES7 async/await constructs are passed through the
compiler unchanged to be run by the underlying engine (e.g. Chrome v53
or Edge v14).
@matAtWork matAtWork merged commit 55ea81f into master Jul 14, 2016
@matAtWork matAtWork deleted the engine-mode branch July 14, 2016 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants