Python with no significant whitespace

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • mep

    Python with no significant whitespace

    Hi,all
    Is there anybody trying to release a modification version to current
    python source code with no significant whitespace, say replacing whitespace
    by {}
    like C or java. I do *NOT* mean whitespace is good or bad, just
    want to know.

    Best Regards,
    mep


  • Stephen Thorne

    #2
    Re: Python with no significant whitespace

    On Wed, 26 Jan 2005 11:31:18 +0800, mep <mep_@163.com > wrote:[color=blue]
    > Hi,all
    > Is there anybody trying to release a modification version to current
    > python source code with no significant whitespace, say replacing whitespace
    > by {}
    > like C or java. I do *NOT* mean whitespace is good or bad, just
    > want to know.[/color]

    Domain name LiveLogix.com is a dynamic and innovative name that evokes the concept of real-time solutions and cutting-edge technology. It suggests a platform for live updates, analytics, and problem-solving. The combination of live and logi


    don't know why you'd bother tho. any competant programmer already
    indents code exactly like python requires you to.

    Stephen

    Comment

    • Tom

      #3
      Re: Python with no significant whitespace

      Just though I'd point out that Logix *does* use whitespace for
      delimiting blocks. Or rather, it can use whitespace, and the languages
      that come as standard do.

      With Logix you could quite easily make a version of Python with, e.g.,
      braces instead of whitespace for delimiting blocks. That's probably
      what the Stephen was getting at.

      Tom.

      Comment

      • Jeremy Sanders

        #4
        Re: Python with no significant whitespace

        On Wed, 26 Jan 2005 11:31:18 +0800, mep wrote:
        [color=blue]
        > Hi,all
        > Is there anybody trying to release a modification version to current
        > python source code with no significant whitespace, say replacing whitespace
        > by {}
        > like C or java. I do *NOT* mean whitespace is good or bad, just
        > want to know.[/color]

        It probably would be easy to convert source in the form using brackets to
        indented form on the fly, and use exec to interpret the converted form.

        You need to do something like convert XXXX { to

        XXXX:
        foo

        Of course this isn't a good idea.

        Jeremy


        Comment

        Working...