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


_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to