Executing AST
Norbert Hartl
norbert at hartl.name
Sun Jul 8 21:45:00 UTC 2007
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
|