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

Async Arrow Function parsing #1805

Closed
Razican opened this issue Jan 29, 2022 · 3 comments
Closed

Async Arrow Function parsing #1805

Razican opened this issue Jan 29, 2022 · 3 comments
Assignees
Labels
enhancement New feature or request parser Issues surrounding the parser

Comments

@Razican
Copy link
Member

Razican commented Jan 29, 2022

ECMASCript feature
Implementing parsing for AsyncArrowFunctions is one of the missing parsing features to implement asynchronous execution. Documentation can be found here: https://tc39.es/ecma262/#sec-async-arrow-function-definitions

Async arrow functions are produced in assignment expressions: https://tc39.es/ecma262/#prod-AssignmentExpression
In Boa, this is defined in https://github.com/boa-dev/boa/blob/main/boa/src/syntax/parser/expression/assignment/mod.rs

You can follow any of the existing parsers to see how to do this:

@Razican Razican added enhancement New feature or request parser Issues surrounding the parser labels Jan 29, 2022
@lastmjs
Copy link
Contributor

lastmjs commented Feb 15, 2022

I would like to start working on this issue

@raskad
Copy link
Member

raskad commented Oct 28, 2022

@lastmjs Are you still working on this? Otherwise I would take it over.

@lastmjs
Copy link
Contributor

lastmjs commented Oct 28, 2022

@raskad Please take it over, I haven't done anything yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request parser Issues surrounding the parser
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants