bug-hurd
[Top][All Lists]
Advanced

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

Re: Console client plug-in options


From: Wolfgang Jaehrling
Subject: Re: Console client plug-in options
Date: Fri, 8 Aug 2003 02:00:48 +0200
User-agent: Mutt/1.3.28i

On Thu, Aug 07, 2003 at 11:48:41PM +0200, Marco Gerards wrote:
> It is hard to write a nice parser.
[...]
> The syntax would be:
> console {OPTIONS} {-d DRIVER [suboptions]} CONSOLE

I can not see how this solves the problem that it is hard to write a
nice parser.  The suboptions-variant has the disadvantage of
destroying the consistency of the user interface.  A better solution
might be to provide an replacement for argp in the console client that
can be used by drivers, so that only once a nice parser needs to be
written (though it might even be possible to use existing code from
somewhere).  Another solution is to use one of the commandline parser
generators out there, though I do not know whether they are good
enough for you/us.

Cheers,
GNU/Wolfgang

-- 
"A good programming language should have features that make the kind
of people who use the phrase `software engineering' shake their heads
disapprovingly." -- Paul Graham




reply via email to

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