grasp
grasp copied to clipboard
Incorrect docs ? parser information
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
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