Re:Perl Cannot Be Parsed: A Formal Proof (2008)
by avar on Sunday June 14, 2015 @09:44AM
(#9714849)
As the sibling points out this isn't quite like what you have in Perl. In this case the python code will be parsed the same way. The difference with Perl is that depending on previously defined symbols something might parse as a function call, an indirect method call etc.
This comment in the perl parser describes some of the beginnings of that rabbit hole: http://perl5.git.perl.org/perl.git/blob/70f63a4c7dba89e8e48b...