Look into other parser options
Vlek opened this issue · 2 comments
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:
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.
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.