Re: ylwrap proposition

2007-07-01 Thread Bob Proulx
Ralf Wildenhues wrote: > It seems there are people stumbling over the "simple" renaming, see > bug 503 in Automake's GNATS: > I am not sure it is possible to predictably produce one solution that will work for everyone. I think tha

Re: ylwrap proposition

2007-07-01 Thread Ralf Wildenhues
Hello Sergey, Bob, * Bob Proulx wrote on Sun, Jun 24, 2007 at 12:44:15AM CEST: > [ using a "simple" sed script to rename yacc/lex output ] > > Lately instead of the sed renaming method I have been using the > gdb-style cpp define renaming method. It is six of one and a half > dozen of the other

Re: ylwrap proposition

2007-06-23 Thread Bob Proulx
Sergey Poznyakoff wrote: > Bob Proulx ha escrit: > > I believe that it is very well known and well propagated knowledge > > that the strings yy and YY are often used to mutate the result into a > > unique identifier. Almost all practical documentation uses sed > > substitution in the examples. In

Re: ylwrap proposition

2007-06-23 Thread Sergey Poznyakoff
Bob Proulx <[EMAIL PROTECTED]> ha escrit: > I believe that it is very well known and well propagated knowledge > that the strings yy and YY are often used to mutate the result into a > unique identifier. Almost all practical documentation uses sed > substitution in the examples. In fact this may

Re: ylwrap proposition

2007-06-23 Thread Bob Proulx
Sergey Poznyakoff wrote: > Ralf Wildenhues ha escrit: > > Can s/yy/.../ change anything unintended? E.g., do we need to ensure it > > only changes words beginning with yy? > > In theory it could, for example if the programmer used identifiers > beginning with, or containing `yy'. However, I can h

Re: ylwrap proposition

2007-06-23 Thread Ralf Wildenhues
* Sergey Poznyakoff wrote on Sat, Jun 23, 2007 at 02:04:29PM CEST: > Ralf Wildenhues <[EMAIL PROTECTED]> ha escrit: > > > Can s/yy/.../ change anything unintended? E.g., do we need to ensure it > > only changes words beginning with yy? > > In theory it could, for example if the programmer used i

Re: ylwrap proposition

2007-06-23 Thread Sergey Poznyakoff
Ralf Wildenhues <[EMAIL PROTECTED]> ha escrit: > Can s/yy/.../ change anything unintended? E.g., do we need to ensure it > only changes words beginning with yy? In theory it could, for example if the programmer used identifiers beginning with, or containing `yy'. However, I can hardly imagine so

Re: ylwrap proposition

2007-06-23 Thread Ralf Wildenhues
Hello Sergey, * Sergey Poznyakoff wrote on Fri, Jun 22, 2007 at 01:15:32PM CEST: > > Some (rather long) time ago, I proposed an extension to ylwrap that > would enable it to provide a functionality similar to that > of `bison -p prefix', i.e. replacing `yy' prefix in idenifiers with > the given s

ylwrap proposition

2007-06-22 Thread Sergey Poznyakoff
Hello, Some (rather long) time ago, I proposed an extension to ylwrap that would enable it to provide a functionality similar to that of `bison -p prefix', i.e. replacing `yy' prefix in idenifiers with the given string. (The original proposition is available here: http://lists.gnu.org/archive/html