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
@pwipwi: For some people the most important thing is performance, for some size. It totally depends on usage (web/Node.js, small inputs vs. big inputs, simple grammars vs. complex grammars, etc.). Minifiers can help of course, but not everybody uses them and they also can't compress the code structurally (much).
The size improvements shouldn't primarily be things like removing whitespace and making all identifiers just one letter long (that's the job for minifiers). They should be mostly removing useless/duplicate code and making it simpler where possible.
I am also thinking about a state-machine/bytecode-based approach instead of generating JavaScript code directly — that would probably help a lot here.
Generated parsers are too big:
They should be much smaller, ideally without sacrificing performance.
The text was updated successfully, but these errors were encountered: