"Intro to Pyparsing" Article at ONLamp

Peter Hansen peter at engcorp.com
Mon Jan 30 16:39:51 EST 2006


Christopher Subich wrote:
> Using English, because that's the only language I'm fluent in, consider 
> the sentence:
> 
> "The horse raced past the barn fell."
> 
> It's just one of many "garden path sentences," where something that 
> occurs late in the sentence needs to trigger a reparse of the entire 
> sentence.  

I can't parse that at all.  Are you sure it's correct?  Aren't "raced" 
and "fell" both trying to be verbs on the same subject?  English surely 
doesn't allow that forbids that sort of thing. (<wink>)

-Peter




More information about the Python-list mailing list