Open ronyhe opened 4 years ago
@ronyhe This is the implemented edition, ECMAScript® 2015 Language Specification.
Can you please find which edition it implements async
?
@diasbruno Is the what you mean? https://www.ecma-international.org/ecma-262/10.0/index.html#prod-AsyncArrowFunction
Yep. I'm still figuring out what is the best way to write the parser (per edition or something like babel does).
I have a small program that accepts strings from the command line and prints out the js parser's results:
When given an arrow function it seems to work correctly:
However, when adding the async keyword I get an empty list: