
Nov. 14, 2008
2:09 p.m.
On 14/11/2008, Greg Ewing <greg.ewing@canterbury.ac.nz> wrote:
Jan Kanis wrote:
One major technical problem with this is that it would stop the python grammar from being LL1
Not necessarily. You could just allow any expression-statement to be followed by a block, and sort out whether it makes sense later on.
Hm, hadn't thought about it in that way. Doing so now, if we follow this train of thought to it's ultimate conclusion everything is LL1, just parse the file as a sequence of characters and sort out whether they make sense later on :) . Jan