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

refactor binary expression parsing #112

Closed
michaelficarra opened this issue Dec 8, 2012 · 1 comment · Fixed by #166
Closed

refactor binary expression parsing #112

michaelficarra opened this issue Dec 8, 2012 · 1 comment · Fixed by #166
Milestone

Comments

@michaelficarra
Copy link
Owner

As suggested by someone with more PEG experience than me at YOW!2012 and recently implemented in Esprima. Should provide a nice speedup for complex expressions and deeply nested parentheses.

Related: ariya/esprima@c7d1052e5a

@michaelficarra
Copy link
Owner Author

I'm making good progress on this. See the GH-112 branch. I just have to switch out all the binary expression rules with one rule that parses a list of arbitrary binary expressions and then fold them using the precedence table.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant