Looking at compiler inline...
Brian T. Rice
water at tunes.org
Thu Apr 8 20:24:30 UTC 2004
Tim Rowledge <tim at sumeru.stanford.edu> said:
> > This caused the compiler to generate a file was broken on the unix
> > platform due to some ill-advised post-proccessing by "gnuify" ( sorry,
> > Ian...)
> >
> > The compiler is definitely due for a rewrite. It should have a deeper
> > "understanding" of C and it's structure. Right now it generates C code
> > by very simple pattern templates...
> That's how it is designed. It uses the Smalltalk compiler to produce
> compiler methods and converts those into TMethods. Writing a C compiler
> in Smalltalk is surely doable but pointless in my opinion - aside from
> other considerations we need a better Slang translator not a C
> compiler. At Interval we spent a lot of time on this issue; a long time
> ago I offered the system we developed that could take Slang and produce
> C source, ARM assembler source or ARM object code. Never heard of
> anyone doing much with it.
Yes, you did hear of it, unless you weren't listening (hey, it happens). But
not for Squeak, and we went a little further.
More information about the Squeak-dev
mailing list
|