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

add yield/await support #9

Open
sibelius opened this issue Jan 5, 2017 · 4 comments
Open

add yield/await support #9

sibelius opened this issue Jan 5, 2017 · 4 comments

Comments

@sibelius
Copy link

sibelius commented Jan 5, 2017

nodejs/node#8382

@sibelius
Copy link
Author

sibelius commented Jan 5, 2017

@sibelius
Copy link
Author

sibelius commented Jan 6, 2017

@paulserraino
Copy link
Owner

Nice, the links you've provided are great. 👍 I like the idea of adding support for yield/await. Perhaps there's a way to make babel-repl more extensible? We could provide an optional "hook" for pre-processing code before the eval method is called.

@sibelius
Copy link
Author

sibelius commented Jan 6, 2017

I think we don't have much syntax to preprocess

we could read .babelrc of user and use it to transform code properly, right now you are not using any babel preset or plugin

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

No branches or pull requests

2 participants