Erez Shinan
Erez Shinan
(Yes, the failure is due to the Lark python version not being pinned. We'll try again later)
Nice graph! It could be a real improvement to what https://github.com/goodmami/python-parsing-benchmarks has right now. > I think it is ripe for optimization I think the same. If I had time...
P.S. I think the "gold standard" might be to benchmark parsing Python. It's pretty complicated. The Lark grammar for it already exists. And, there's plenty of "test data" for it.
Generating strings from a grammar is not very difficult conceptually. You can generate every variation by recursing into rules and generating every variation of the terminals. (it does require generating...
If you don't mind me bringing it up again, why did you choose not to benchmark parsing Python?
My sense is that it would be very easy to find a big bunch of Python snippets (probably there are existing collections), and then just sort them by size. I...
Did you make any progress on this? Just curious
Yes, you're right that it's a translation error. It should look like this: ```javascript parse_interactive(text = null, start = null) { return this.parser.parse_interactive(text, start); } ```
Okay, thanks for reporting it! It still isn't right, because in Python `'0'.isupper() == False`. But you're right that it needs fixing.
Did you use chatgpt for this?