[squeak-dev] Bootstrapping

Yoshiki Ohshima yoshiki at vpri.org
Sun Jun 29 18:08:37 UTC 2008


At Sun, 29 Jun 2008 18:48:01 +0200,
Bert Freudenberg wrote:
> 
> Am 29.06.2008 um 16:51 schrieb Randal L. Schwartz:
> 
> >>>>>> "Bert" == Bert Freudenberg <bert at freudenbergs.de> writes:
> >
> > Bert> No it would not. The main issue for them is that you have to  
> > start  from what
> > Bert> they perceive as "binary blob" which is monkey-patched into   
> > newer versions.
> >
> > The C compiler would fit the same definition, by that reasoning.
> 
> 
> No. You need a C compiler, true, but it builds the next C compiler  
> from text sources only, it does not clone itself.

  Come to think of it, we don't have to write the bootstrapper in
another language.  They already accept Squeak VM, so we can write the
Smalltalk-to-CompiledMethod compiler in Slang (even better; write it
in OMeta and generate Slang), and generate a modified VM that has
different main().  That main() reads the "source" files, compile them
(by using the memory management in ObjectMemory), and write the result
to file.  (Yes, you need a C compiler^^;)

  Isn't it sound a bit more doable?

-- Yoshiki



More information about the Squeak-dev mailing list