Python Rocks! - get rid of colons

tye4 tye4 at yahoo.com
Thu Jan 20 15:23:29 EST 2000


I have Python installed on Linux Redhat 6.0. Does anyone know where the
source code for the compiler is located (any .tar file?). I intend to modify
the language's syntax to add
'end' delimiters for the blocks.
And since Python is copyrighted, I don't intend to flood out versions to
anyone else... strictly for personal use.

class TestNew

    def foo(s):
        for i in range(0, 10):
            print i,
        end loop

        if i == 10:
            print 'internal error'
        end if

        while i < 10:
            print i
        end loop
    end def

end class

My end delimiters are inspired by Ada, which in my personal opinion has best
overall syntax.

Thx,

-tye4





More information about the Python-list mailing list