Our great sponsors
-
ANTLR
ANTLR (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
It seems that ANTLR extends JS's built-in Error type when generating the parser code. This class seems to trigger a de-optimization step (which I can't seem to find a supporting link for - will update if I find one) in Node/V8. When we switched to the new parser, we avoided using Error, which means that we no longer trigger the de-optimization
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.
Related posts
- ELI5- Why can’t regex parse HTML?
- Error "ImportError: No Module named antlr4
- MASSIVE help needed on this, using ANTLR4 on Ubuntu and it keeps giving this error when trying to make a parse tree… (it should show up in another window but it gives this instead) I don’t know what to do 😭
- ANTLR4
- Solving issue with skipping whitespace in lexer