obsolete D libraries/modules
Peter Williams
pwil3058 at bigpond.net.au
Sat Aug 31 16:37:09 PDT 2013
On 01/09/13 03:11, Andrei Alexandrescu wrote:
> Haven't seen Tango's arguments parser, but it's a given getopt can be
> improved in any number of ways. Yet the way I see it, with command line
> parsing, the margin between a good enough argument parser and a terrific
> one is razor thin. One parses arguments by definition once in every
> program, and things like checking against limits and constraints across
> multiple arguments can be easily done after basic parsing.
>
The Python Standard Library's argparse module
<http://docs.python.org/2/library/argparse.html> would be a good model
to base an improved option parsing module on. I've used it a lot in
Python and it's very useful.
Peter
More information about the Digitalmars-d
mailing list