Doc on the VM translation to C?

Marcel Weiher marcel at metaobject.com
Tue Feb 6 18:30:49 UTC 2001


> From: Robert Feldt <feldt at ce.chalmers.se>

> How complex is the translation? Is it like a Smalltalk-to-C compiler 
> preserving some or most of the Smalltalk semantics or is it more like C 
> written in a Smalltalk syntax?

It is the latter, called 'Slang'.

Slang maps message sends to function calls, ignoring the receiver  
and thus also removing polymorphism.

(Almost) all variables are treated as 32 bit integers, which are  
sometimes used as integers, sometimes as pointers.

Marcel





More information about the Squeak-dev mailing list