in reply to Re^2: Evolution of python
in thread Evolution of python

I suspect the semantic white space makes the Python grammar ambiguous from a theoretical standpoint.

I'd be a bit surprised if that were the case... anyway, there's a Full Grammar specification available, and the source for the grammar is here.

Replies are listed 'Best First'.
Re^4: Evolution of python
by thechartist (Monk) on Jul 14, 2019 at 14:41 UTC

    Lol, I was hoping someone else did a proof. I'm not terribly excited about doing it myself. I had actually looked at those docs, but there wasn't an obvious answer to the question. Thanks though!

    Edit: Old thread, but it appears this question was asked awhile back. Seems to be context-free if I understand this correctly. Is Python context-sensitive?