Re: How to write a simple Code Rewrite for x -> self x?
Posted by Tim M on Mar 23, 2006; 7:12pm
URL: https://forum.world.st/How-to-write-a-simple-Code-Rewrite-for-x-self-x-tp3377980p3377985.html
Thanks John,
I was just putting a toe in the water with a baby problem (I guess I
picked the wrong toe ;-).
I am kind of suprised by the replace pattern complexity. For example
given how SmaCC lets me easily name expressions and then use that name
in an action, I was kind of expecting the same from the Code Rewriter?
Is this just something I wouldn't normally need to do - or is it just
that you never thought of this? I can't imagine that its technically
hard - but maybe I wouldn't normally need to do it.
Anyway - thanks for the swift reply.
Tim