lukas it would be great if you could write some blog entries on RBWriter and that we turn that into a book chapter. We have powerful tools but only two guys knowing how to use them and this is a pity. Stef On Jan 12, 2011, at 7:08 AM, Lukas Renggli wrote:
1) In [1] "( RBClass existingNamed: className ) compileTree: replacer tree" would be more appropiate? I get a MNU when evaluated with latest AST/Refactoring.
What kind of MNU?
2) The above script have some problems, if you want to get replaced
'this is a string' asString.
to
'this is a string' asText
it won't match. The same happens with: " self model asString " and other patterns.
`#literal asString
i.e. [: tmp | anObject1 blabla1 blabla2 oldMessage blabla3 ] How to modify the rewriter to match oldMessage/newMessage at any point?
``@obj oldMessage
Lukas
-- Lukas Renggli www.lukas-renggli.ch