[squeak-dev] smalltalk evolution
nicolas.cellier.aka.nice at gmail.com
Wed Jun 1 21:51:48 UTC 2011
2011/6/1 Frank Shearar <frank.shearar at gmail.com>:
> On 1 June 2011 18:50, Randal L. Schwartz <merlyn at stonehenge.com> wrote:
>>>>>>> "Frank" == Frank Shearar <frank.shearar at gmail.com> writes:
>> Frank> Amen. And what I'd like to see Trunk do is enable this kind of
>> Frank> experimentation, by providing hooks into the base system, and making
>> Frank> things pluggable/modular so that (a) you can actually run the
>> Frank> experiment - by swapping out a Compiler, for instance - and (b) you
>> Frank> don't have to hack on the Squeak platform itself. That lets your
>> Frank> experiment fail without taking down the entire image.
>> It already does. OMeta uses that, for example. I think the "Tiles"
>> language also did. Each class can declare which compiler is used for
>> its methods and subclass methods.
> Yes, this is true. And it mostly works quite easily, too - just
> override YourClass >> #compilerClass and possibly #decompilerClass.
And if you are building already existing AST nodes with a different
syntax, you can now just override parserClass.
>> Time to get cracking.
> Yes - but first I have some tools to refactor!
More information about the Squeak-dev