Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: Evolution of python

by thechartist (Monk)
on Jul 14, 2019 at 14:06 UTC ( [id://11102832]=note: print w/replies, xml ) Need Help??


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

I suspect the semantic white space makes the Python grammar ambiguous from a theoretical standpoint. Anyone have a proof of this?

I ask as I was trying to think of how tools could be programmed to make the activity of programming easier for people with visual impairments. I think languages with clear block demarcations have advantages here.

Replies are listed 'Best First'.
Re^3: Evolution of python
by haukex (Archbishop) on Jul 14, 2019 at 14:14 UTC
    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.

      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?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11102832]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-19 17:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found