About the new compiler, Part I

Marcus Denker denker at iam.unibe.ch
Sun Jan 20 20:00:45 UTC 2008

On 20.01.2008, at 17:33, John Brant wrote:

> Marcus Denker wrote:
>> There was some use of the Rewriter in the, I think #emitCaseNode:.  
>> For now this was removed as we do not (yet) want to make the  
>> NewCompiler depend on the
>> RB package. (partly because there are people whose only comment on  
>> the RB is "oh, that's a lot of classes". Even today, the usefulness  
>> of refactorings is not
>> yet common knowledge... it's a bit like with Tests. Hard to change  
>> habits...).
> Unless things are packaged differently in Squeak, the rewriter is in  
> the same package as the parse tree nodes. So you should be able to  
> use the rewriter without including more stuff.

There is an "AST" package and a "NewParser" package, the rest is in  
"RefactoringEngine" and "NewCompiler".

Marcus Denker  --  denker at iam.unibe.ch

More information about the Squeak-dev mailing list