[squeak-dev] TR: High language to express low level code

David T. Lewis lewis at mail.msen.com
Tue Apr 9 12:28:25 UTC 2019

On Mon, Apr 08, 2019 at 04:16:47PM +0000, pierre misse wrote:
> Thank you guys for your answers !
> @Dave Thank you for the precisions.
>  I actually had read this article, and
>  -Extending the Squeak Virtual Machine by Andrew C. GreenBerg
>  -Two decade of Smalltalk VM Development by Eliot Miranda , Clement Bera, Elisa Gonzalez Boix, and Dan Ingallls.
>  But i didn't find much more on how it works. I was looking at it mostly from the transpilation point of vue. I'll have to take a closer look at TMethod/TparseNode/CCodeGenerator !
> "The Smalltalk to C (or Javascript) capability is not intended to be a general purpose languange. The general purpose language in this case is of course Smalltalk itself, and the slang translator serves as an optimizer to translate the virtual machine (which is written primarily in Smalltalk) into C to produce a high performance runtime."
> Did you mean "which is written primarily in SLANG"? For now I'm taking it as "the slang translator translate Smalltalk code" which feels weird to me.

No, I mean Smalltalk. It is Smalltalk being translated to C or JavaScript.
There really is no such language as Slang, it is just a "slang" reference
to the subset of your Smalltalk image that can be successfully translated.


More information about the Squeak-dev mailing list