goodmami / python-parsing-benchmarks

Compares Python's text parsing libraries
MIT License
24 stars 5 forks source link

Make Arithmetic test more standard #2

Open goodmami opened 4 years ago

goodmami commented 4 years ago

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.