Extending Python Syntax with @
Peter Hickman
peter at semantico.com
Fri Mar 12 04:50:52 EST 2004
Cameron Laird wrote:
> Forth. Lisp. Tcl.
I was thinking of even less than that. Just define a few flow control
things and get everything out of the objects. I expect it would look
either like lisp or smalltalk.
There would only be one built in datatype, the message, and all the
objects would chuck messages around. Thus the language as such would
have a very limited syntax.
load Object.class;
load Stream.class;
x = new Object;
s = new Stream;
s.print x.to_string;
So we have declare variables, load classes and pass messages.
More information about the Python-list
mailing list