Compiler, was Re: Block closures

Dan Ingalls Dan.Ingalls at disney.com
Fri Jul 28 00:15:18 UTC 2000


Lex -

>	3. Ability to execute statements straight out of a parse tree.  Or at
>the least, the ability to generate a block from a parse tree which can
>later be evaluated.  (blocks and methods are very similar in the
>abstract, but they aren't in Squeak).  It just seems like this should be
>possible, due to the nature of what a parse tree is.

I presume you already use this in your type inferencer, since it allows you to execute an existing method in the space of the types of its parameters and receiver, to produce the type of the result.  So I'm strongly in favor of this capability.

	- Dan






More information about the Squeak-dev mailing list