You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: