Re: [pypy-dev] plans for the peg parser in pypy 3.9

2021-11-10 Thread Omer Katz
Kudos on the great work! I honestly don't think there's a need to keep the old parser around if CPython already proved that the new one works just fine. I think we're allowed to be less conservative here because of that. We can always revert your patch if something goes wrong. ‫בתאריך יום ג׳, 9

Re: [pypy-dev] plans for the peg parser in pypy 3.9

2021-11-09 Thread Carl Friedrich Bolz-Tereick
On 07.11.21 20:40, Carl Friedrich Bolz-Tereick wrote: - That said, I intend to keep the "parser" module functional for 3.9, like CPython did. It will be removed (for us and for them) in 3.10. It seems that won't completely work. the module makes it possible to compile a concrete syntax tree to

Re: [pypy-dev] plans for the peg parser in pypy 3.9

2021-11-07 Thread Simon Cross
> - CPython made it possible to switch between the old and the new parser > in 3.9 with an environment variable. Unless somebody gives extremely > strong reasons for also having that feature, I would like to focus on > using the new parser exclusively. Being able to switch is quite a big > hassle,

[pypy-dev] plans for the peg parser in pypy 3.9

2021-11-07 Thread Carl Friedrich Bolz-Tereick
Hi all, so I've been hacking on getting an rpython version of the new peg parser that cpython introduced in 3.9, and switched exclusively to in 3.10. My status on the py3.9-peg-parser branch is that I managed to build a full pypy-c with the new parser for the first time today, but there are still