C code for Block context

Stefan Matthias Aust sma at kiel.netsurf.de
Sat Nov 21 18:41:38 UTC 1998


>How does the Squeak Smalltalk to C translation handle Smalltalk code that
>contains Blcok context? It was my impression that it is difficult to
>program Block context in C.

Actually, it cannot translate real blocks.  The translator only translates
a subset of Smalltalk, just enough to compile the interpreter.  It does the
usual optimization for ifTrue: and whileTrue: blocks, but can't handle full
block closures.


bye
--
Stefan Matthias Aust  //  Are you ready to discover the twilight zone?





More information about the Squeak-dev mailing list