Message391783
> I just thought having a whole “expr-without-walrus-or-yield” subgrammar would be tedious.
Yeah I have experimented with something similar in the past and this becomes out of hand super quickly and leafs to a lot of duplication.
Similarly, a flag that conditionally accept some rules can be quite tricky to hey right with the backtracking and those require some extra metagrammar so adding the flag is not super unreadable.
In my humble opinion, I think is far simpler to reject this after the parsing is done, either in the compiler or the symbol table. |
|
Date |
User |
Action |
Args |
2021-04-24 16:12:12 | pablogsal | set | recipients:
+ pablogsal, gvanrossum, larry, Mark.Shannon, serhiy.storchaka, Guido.van.Rossum, lys.nikolaou, BTaskaya |
2021-04-24 16:12:12 | pablogsal | set | messageid: <1619280732.43.0.419783786772.issue42725@roundup.psfhosted.org> |
2021-04-24 16:12:12 | pablogsal | link | issue42725 messages |
2021-04-24 16:12:12 | pablogsal | create | |
|