python-parsing-benchmarks icon indicating copy to clipboard operation
python-parsing-benchmarks copied to clipboard

Make Arithmetic test more standard

Open goodmami opened this issue 5 years ago • 0 comments

I made the Arithmetic test to replicate pegen's x test which was exhibited pathological backtracking for recursive descent. However the test as defined for these benchmarks doesn't have the same issues, yet it still has some of the odd structure. Using a more standard definition might make it easier to port the example "calculator parsers of some parsing libraries.

goodmami avatar May 24 '20 02:05 goodmami