Everything is a Register!

sig siguctua at gmail.com
Mon May 7 12:09:45 UTC 2007


On 07/05/07, Mathieu Suen <mathk.sue at gmail.com> wrote:
> Why do you have this special syntaxe? Why don't you use the Smalltalk
> bytcode?
>
because a set of asm instructions is very small.
And this syntax reflects them, nothing more, nothing less. I left a
way for possible extensions/replacement - you can supply own class
with instruction set to parser.
And external libraries don't know how to deal with smallints/oops.
They understand only raw values and pointers to data.

As for bytecode you already having Exupery. But it will generate an
assembly which targeted for using with oops (tagged integers
everywhere, e.t.c).
My generator acting with variables/values as with registers, not oops.
That's why i called the topic 'Everything is a Register'.



More information about the Squeak-dev mailing list