Language mavens: Is there a programming with "if then else ENDIF" syntax?

Robert Kern robert.kern at gmail.com
Thu Dec 3 16:10:53 EST 2009


On 2009-12-03 14:56 PM, Michael Torrie wrote:

> I'm not sure, but Python's grammar is LL(1) I think, and probably darn
> close to context-free.

It is LL(1) after some non-formal postprocessing of the tokens to properly 
handle the indentation.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco




More information about the Python-list mailing list