Executing AST

Alan Kay alan.kay at squeakland.org
Mon Jul 9 00:24:22 UTC 2007


Why not just use the fact that Smalltalk can compile and execute any 
string on the fly?

Also take a look at the many ways in Smalltalk to serialize and 
deserialize objects. Some of the most recent has been done by Yoshiki Ohshima.

Cheers,

Alan

----------

At 02:45 PM 7/8/2007, Norbert Hartl wrote:
>On Sun, 2007-07-08 at 18:13 +0200, Bergel, Alexandre wrote:
> > Hi Norbert,
> >
> > I am currently working on a squeak interpreter.
> > It is available on Squeaksource. If you want to try it, load Perseus,
> > and SmalltalkP
> > http://www.squeaksource.com/Perseus
> > http://www.squeaksource.com/SmalltalkInPerseus
> >
> > Have a look at the test.
> >
> > This is a very preliminary work, and the design will have to be
> > redone, but the essence is there.
> >
> > Let me know about how far you went with it :-)
> >
>Don't wait for it :) I was just looking for something that lets
>me produce code and parse and execute it afterwards. I struggle
>a lot using Glorp and therefor being bound the some degree to
>SQL semantics. My hope was that storing code in the database and
>executing it on retrieval could solve a lot of problems. I still
>think this is feasible. But if the setup is too complicated (I
>don't have much time) and is not mature I can't rely on it.
>
>I was not very clear in my intention. I was more looking for an
>easy way to serialize/deserialize objects. I'll do it for now
>using a textual interpretation of
>
>self class asString,':',self id
>
>If I find some time I'll have look at it because this is a very
>interesting topic.
>
>
>thanks,
>
>Norbert




More information about the Squeak-dev mailing list