[Python-Dev] Re: NEWLINE sentinel behavior in CPython's PEG grammar

2022-11-03 Thread David J W
59 Matthias Görgens > wrote: > >> Hi David, >> >> Could you share what you have so far, perhaps ok GitHub or so? That way >> it's easier to diagnose your problems. I'm reasonably familiar with Rust. >> >> Perhaps also add a minimal crashing example

[Python-Dev] Re: NEWLINE sentinel behavior in CPython's PEG grammar

2022-10-26 Thread David J W
eck the code unfortunately. > > Hope this helps. > > Regards from rainy London, > Pablo Galindo Salgado > > > On 26 Oct 2022, at 19:12, David J W wrote: > > > >  > > I am writing a Rust version of Python for fun and I am at the parser > stage of develop

[Python-Dev] NEWLINE sentinel behavior in CPython's PEG grammar

2022-10-26 Thread David J W
I am writing a Rust version of Python for fun and I am at the parser stage of development. I copied and modified a PEG grammar ruleset from another open source project and I've already noticed some problems (ex Newline vs NL) with how they transcribed things. I am suspecting that CPython's