Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Trim bytes #51

Open
zaach opened this Issue · 0 comments

1 participant

@zaach
Owner

Possible ways to trim bytes from the generated parser:

  • collapse duplicate semantic actions
  • use nested ternaries instead of a switch statement for actions
  • pass semantic values as arguments instead of the whole stack to performAction (same for location values). This would get rid of dynamic $$[$0-n] expressions
  • remove error recovery code from parsers that don't need it

check to see that performance is not negatively impacted by these.

@zaach zaach was assigned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.