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
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