help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] [PATCH] Support rewrite rules in gst-convert


From: Stephen Compall
Subject: Re: [Help-smalltalk] [PATCH] Support rewrite rules in gst-convert
Date: Fri, 13 Jul 2007 16:09:43 -0500

On Fri, 2007-07-13 at 19:12 +0200, Paolo Bonzini wrote:
> As in "gst-convert -r 'MessageSend->DirectedMessage' ff.st -" or also 
> "./gst -f ../scripts/Convert.st  -r 'address@hidden value->address@hidden 
> foo' < ff.st".

This is cool.

I'll add for anyone thinking of how to use this one rewrite tip: 'address@hidden
value->address@hidden foo' would usually work better, thanks to the way pattern
variable bindings are searched recursively.

-- 
;;; Stephen Compall ** http://scompall.nocandysw.com/blog **
"Peta" is Greek for fifth; a petabyte is 10 to the fifth power, as
well as fifth in line after kilo, mega, giga, and tera.
  -- Lee Gomes, performing every Wednesday in his tech column
     "Portals" on page B1 of The Wall Street Journal

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]