-
Notifications
You must be signed in to change notification settings - Fork 20
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
Not working optimized Pillar parser #20
Comments
Indeed, it would be great to get support for this issue. I would also be very interested to learn how to debug such issues in the future, too :) |
Thanks for migrating to PP2! I commited a fix 1, I will add some details about why/how to debug during the weekend. |
Thank you! I can confirm that 36f878b fixes the issue. |
Thanks a lot, @kursjan! After migrating to PP2, we got a parsing speedup of 2x, which is very relevant for tooling.
|
Thanks @girba for the speedup report. 2x speedup is reasonable, I will have a look where are the inefficiencies if we can implement optimizations to improve it even more. |
Hi @kursjan,
we have migrated Pillar parser to use Petit parser 2. We have spotted one issue using
optimize
andPP2GuardVisitor
is the responsible one.Here is the example:
Steps to reproduce:
Currently, the Pillar parser is stored in Documenter repository. You can install it in Pharo 6.1 using:
I will appreciate if you can help us with it. I do not understand how to debug
PP2GuardVisitor
optimizations.The text was updated successfully, but these errors were encountered: