[Vm-dev] [ANN][VMM] SlangBrowser - browser support for C generator

David T. Lewis lewis at mail.msen.com
Sat Feb 3 19:36:51 UTC 2007

I implemented interactive Slang code browsing as a VMMaker enhancement
for Squeak 3.8 and 3.9. I'm not sure what to do with this, so for now
I just stuck it on the swiki at <http://wiki.squeak.org/squeak/5916>.

After loading the change set, you can select either 'translate to C'
or 'translate to inlined C' in the 'What to show' menu of a normal browser
(any Browser or MessageSet). Translated C code it displayed in the
browser code window.

It's quite fast, because a cache of code generators is maintained to
support browsing. If a translatable class or method is changed, all
affected cache entries are invalidated, and new code generators are
created on demand.

Anyone who has ever gone digging through the generated C source for
the VM or for a plugin is sure to appreciate this.


More information about the Vm-dev mailing list