3 ms·
bonus points for using Esprima to parse Absolutely. Esprima is one of the better things to happen to the JavaScript world. The lack of a good, fast, reusable
by erichocean 14y ago
bonus points for using Esprima to parse
Absolutely. Esprima is one of the better things to happen to the JavaScript world.
The lack of a good, fast, reusable JavaScript parser has been an annoying deficit that is finally being adequately addressed.
There's been a bunch of JS parsers over the years (many PEG-based), but my project (at least) has brought all of them to their knees. Very, very frustrating to get OOM errors trying to parse large JavaScript frameworks and perform code transformations.