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

Incorrect docs ? parser information #125

Open
ainthek opened this issue Jul 10, 2018 · 1 comment
Open

Incorrect docs ? parser information #125

ainthek opened this issue Jul 10, 2018 · 1 comment

Comments

@ainthek
Copy link

ainthek commented Jul 10, 2018

Documentation, parser
page https://www.graspjs.com/faq/ says:

Why does Grasp use Acorn rather than Esprima to parse JS?

Esprima and Acorn are both JavaScript parsers that output in the Mozilla SpiderMonkey AST format. Grasp uses Acorn as it is much faster at parsing JavaScript when location information is needed.

Howver it seems that you have started to use flow-parser,
Please can you patch the docs and explain why ?
Thanx

@gkz
Copy link
Owner

gkz commented Jul 11, 2018

Ah, I see. We switched to flow-parser as it supports all ES features and flow type syntax. There might be a better option now though

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