Message374349
I guess the design space is wide open.
Does parso have to be pure Python? If not, we could generate C code like we do for CPython's parser. Now, that doesn't work for incremental parsing, but I did an alternative implementation that uses a stack machine, also in C, that's only 2x slower than the PEG parser. Maybe that could be adapted to incremental parsing (because it's a stack machine). Error recovery is still a research project (at least for me -- I'm actually reading papers :-). |
|
Date |
User |
Action |
Args |
2020-07-26 22:56:43 | gvanrossum | set | recipients:
+ gvanrossum, gregory.p.smith, carljm, eric.snow, davidhalter, hroncok, corona10, BTaskaya, Peter Ludemann |
2020-07-26 22:56:43 | gvanrossum | set | messageid: <1595804203.48.0.397491388447.issue40360@roundup.psfhosted.org> |
2020-07-26 22:56:43 | gvanrossum | link | issue40360 messages |
2020-07-26 22:56:43 | gvanrossum | create | |
|