[Python-ideas] Hooking between lexer and parser

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Jun 8 00:21:57 CEST 2015

random832 at fastmail.us wrote:
> I'm actually talking about what happens if the _untransformed_ stream
> contains an unbalanced bracket that the hook is supposed to eliminate

I'm of the opinion that designing an input language
to require or allow unmatched brackets is a bad
idea. If nothing else, it causes grief for editors
that do bracket matching.


More information about the Python-ideas mailing list