Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parser+lexer run-time optimizations: strip kernel features which are unused #341

Open
GerHobbelt opened this issue Jan 31, 2017 · 0 comments

Comments

@GerHobbelt
Copy link
Contributor

Reduce lexer run-time costs.

See also work done in #338 for the parser; now that work should continue into the lexer to achieve maximum 'parse' speeds.

GerHobbelt added a commit to GerHobbelt/jison that referenced this issue Jan 31, 2017
…at to deliver, the lexer *generator* will need information about which features are used, e.g. extended error handling, location tracking (with or without `yylloc.range` range tracking), etc.
GerHobbelt added a commit to GerHobbelt/jison that referenced this issue Feb 1, 2017
…r the given grammar: the kernel code should not carry blatantly incorrect comments either after kernel stripping! Sideways related to zaach#341.
GerHobbelt added a commit to GerHobbelt/jison that referenced this issue Feb 1, 2017
…--no-default-action` are specified, all safeties are moved, including protection in the kernel against incorrect use of `$$`/`$0` in grammar rule action code blocks. Example examples/test-unused-rules-reporting.jison is augmented to showcase the (**technically correct but functionally buggy!!!) behaviour.
GerHobbelt added a commit to GerHobbelt/jison-lex that referenced this issue Apr 8, 2017
… to the lexer compiler using better names, so they are confused once in there.
GerHobbelt added a commit to GerHobbelt/jison-lex that referenced this issue Apr 8, 2017
…stics of the generated lexer to be used in the code optimizer.
GerHobbelt added a commit to GerHobbelt/jison that referenced this issue Apr 8, 2017
…bits to the lexer compiler using better names, so they are confused once in there.
GerHobbelt added a commit to GerHobbelt/jison-lex that referenced this issue Jun 25, 2017
…ticipation of what will be coming next: lexer code analysis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant