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

Look into other parser options #49

Open
Vlek opened this issue Jul 20, 2021 · 2 comments
Open

Look into other parser options #49

Vlek opened this issue Jul 20, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@Vlek
Copy link
Owner

Vlek commented Jul 20, 2021

Problem:
Pyparsing states that the usual method for parsing statements is with the Lex/Yacc method. This may have the potential for a speed increase, even with the pure-python implementation PLY.

Solution:
Research this method, attempt to create a small prototype and try it on ((((((((((1 + 1)))))))))) to see whether it's quicker. If this is determined to be meaningfully faster, then switch over to using it.

Considerations:

@Vlek
Copy link
Owner Author

Vlek commented Mar 30, 2022

I have done some research into the speed ramifications and this is our biggest bottleneck in terms of the actual code running. Right now, pyparsing is by far the biggest expense that we have. In addition to resolving some of the issues we may be facing with parsing, it may be helpful for speed to also consider another parser.

@Vlek Vlek self-assigned this Mar 30, 2022
@Vlek Vlek added the enhancement New feature or request label Mar 30, 2022
@Vlek
Copy link
Owner Author

Vlek commented Mar 30, 2022

I have done some research into the speed ramifications and this is our biggest bottleneck in terms of the actual code running. Right now, pyparsing is by far the biggest expense that we have. In addition to resolving some of the issues we may be facing with parsing, it may be helpful for speed to also consider another parser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant