Re: Extending Python Syntax with @
"Peter Hickman" <peter@semantic o.com> wrote in message
news:405187fd$0 $2803$afc38c87@ news.easynet.co .uk...[color=blue]
> Cameron Laird wrote:[color=green]
> > Forth. Lisp. Tcl.[/color]
>
> 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.'[/color]
Have you looked at Io?
John Roth
"Peter Hickman" <peter@semantic o.com> wrote in message
news:405187fd$0 $2803$afc38c87@ news.easynet.co .uk...[color=blue]
> Cameron Laird wrote:[color=green]
> > Forth. Lisp. Tcl.[/color]
>
> 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.'[/color]
Have you looked at Io?
John Roth
Comment