Re: Command line parsing of ls with genparse: inline code

2008-07-18 Thread Michael Geng
On Mon, Jun 16, 2008 at 09:43:37PM +0200, Jim Meyering wrote: > [EMAIL PROTECTED] (Michael Geng) wrote: > ... > > I think emitting into a .h file would be a good solution. But wouldn't > > it then be better to directly add a genparse file (e.g. ls.gp) instead of > > extracting it from ls.c? ls.c wo

Re: Command line parsing of ls with genparse: inline code

2008-06-16 Thread Jim Meyering
[EMAIL PROTECTED] (Michael Geng) wrote: ... > I think emitting into a .h file would be a good solution. But wouldn't > it then be better to directly add a genparse file (e.g. ls.gp) instead of > extracting it from ls.c? ls.c would no longer have to be modified then. The disadvantage is that there

Re: Command line parsing of ls with genparse: inline code

2008-06-16 Thread Michael Geng
On Sat, Jun 14, 2008 at 06:17:30PM +0200, Jim Meyering wrote: > [EMAIL PROTECTED] (Michael Geng) wrote: > > when I posted a patch around Christmas which showed how genparse > > could generate the parser code for the ping command of the inetutils > > Alfred Szmidt replied that in that example there

Re: Command line parsing of ls with genparse: inline code

2008-06-14 Thread Jim Meyering
[EMAIL PROTECTED] (Michael Geng) wrote: > when I posted a patch around Christmas which showed how genparse > could generate the parser code for the ping command of the inetutils > Alfred Szmidt replied that in that example there are 2 loops (see > http://lists.gnu.org/archive/html/bug-inetutils/200

Re: Command line parsing of ls with genparse: inline code

2008-01-20 Thread Jim Meyering
[EMAIL PROTECTED] (Michael Geng) wrote: > when I posted a patch around Christmas which showed how genparse > could generate the parser code for the ping command of the inetutils > Alfred Szmidt replied that in that example there are 2 loops (see > http://lists.gnu.org/archive/html/bug-inetutils/200