[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] [RFC] Smalltalk scripting syntax

From: Paolo Bonzini
Subject: Re: [Help-smalltalk] [RFC] Smalltalk scripting syntax
Date: Wed, 14 Mar 2007 13:20:04 +0100
User-agent: Thunderbird (Macintosh/20070221)

> Is there any way we could edit the bytecode when
> we convert the block to a method to replace these calls with instance variable
> lookups? Or is that just too evil for words?

I would say so, but other people may see it differently.

> This is a little complex due to the fact that the code containing
> the block must be compiled in the first place so that we can run the method to
> add the method... the simplest way round this is to have Class>>method:is:
> take a string, but that's deeply unpleasant. Hmm. Special syntax for a
> partially compiled Block, that becomes an array of parse tokens, perhaps?

There you are, back to special syntax.  Catch-22.  :-)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]