bug-coreutils
[Top][All Lists]
Advanced

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

Re: Simplifying command line parsing with Genparse


From: Michael Geng
Subject: Re: Simplifying command line parsing with Genparse
Date: Thu, 7 Jun 2007 19:30:05 +0200
User-agent: Mutt/1.5.9i

On Thu, Jun 07, 2007 at 03:04:33PM +0200, Andreas Schwab wrote:
> Jim Meyering <address@hidden> writes:
> 
> > Genparse looks promising.
> > I like the examples.  But there are almost 100 programs in the
> > coreutils.  If genparse can really handle all of those use cases
> > without causing any significant degradation in the tools, then
> > it will be hard to object.
> 
> There's also argp, which is part of glibc and also provided by gnulib.

I would expect Genparse to generate faster code than argp because it does 
part of the work at compile time while argp does everything at run time
since it's a library function.

> Andreas.
> 
> -- 
> Andreas Schwab, SuSE Labs, address@hidden
> SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
> PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
> "And now for something completely different."




reply via email to

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