Re: Recommendation on option parsing

2014-05-14 Thread albatroz via Digitalmars-d-learn
Too late I see, but maybe next time it will provide you a way to search available projects faster. On DUB http://code.dlang.org/ there is one project that looks like address the issues you had with std.getopt, post-rock. Have not used it so I cannot give any further recommendations. Maybe

Re: Recommendation on option parsing

2014-05-14 Thread Robert Schadek via Digitalmars-d-learn
On 05/14/2014 06:15 AM, Jesse Phillips via Digitalmars-d-learn wrote: On Tuesday, 13 May 2014 at 17:05:15 UTC, Chris Piker wrote: I tried that, but you're using private members of std.getopt (which of course is okay for the way you intended the code to be used) so I stopped pursuing this

Re: Recommendation on option parsing

2014-05-13 Thread Robert Schadek via Digitalmars-d-learn
On 05/13/2014 05:40 AM, Chris Piker via Digitalmars-d-learn wrote: On Monday, 12 May 2014 at 23:11:57 UTC, Robert Schadek via Digitalmars-d-learn wrote: Okay, I replaced the std.getopt that came with dmd with your version. My code compiles, but of course it doesn't link against the old

Re: Recommendation on option parsing

2014-05-13 Thread Vladimir Panteleev via Digitalmars-d-learn
On Tuesday, 13 May 2014 at 03:40:57 UTC, Chris Piker wrote: I like your enthusiasm. If you have any modules that don't require me to rebuild libphobos, I'll be happy to give them a whirl. Thank's for responding to my inquiry. Try Digger! https://github.com/CyberShadow/Digger Run: digger

Re: Recommendation on option parsing

2014-05-13 Thread Chris Piker via Digitalmars-d-learn
Okay, I replaced the std.getopt that came with dmd with your version. My code compiles, but of course it doesn't link against the old libphobos.so. Well, it is a pull request for std.getopt, therefore it can't stand alone. That been said, get into getopt.d and copy anything below line 1061 (

Re: Recommendation on option parsing

2014-05-13 Thread Chris Piker via Digitalmars-d-learn
On Tuesday, 13 May 2014 at 12:08:51 UTC, Vladimir Panteleev wrote: On Tuesday, 13 May 2014 at 03:40:57 UTC, Chris Piker wrote: I like your enthusiasm. If you have any modules that don't require me to rebuild libphobos, I'll be happy to give them a whirl. Thank's for responding to my inquiry.

Re: Recommendation on option parsing

2014-05-13 Thread Jesse Phillips via Digitalmars-d-learn
On Tuesday, 13 May 2014 at 17:05:15 UTC, Chris Piker wrote: I tried that, but you're using private members of std.getopt (which of course is okay for the way you intended the code to be used) so I stopped pursuing this solution. Not sure why he had you break up the file. It should be as simple

Re: Recommendation on option parsing

2014-05-13 Thread Chris Piker via Digitalmars-d-learn
On Wednesday, 14 May 2014 at 04:15:04 UTC, Jesse Phillips wrote: Anyway, D's libraries are not as extensive as Python/Ruby/Perl. True, but they wouldn't need to have much more to pass the good-enough threshold for me. In my current position I mostly write relatively simple server side

Re: Recommendation on option parsing

2014-05-12 Thread Chris Piker via Digitalmars-d-learn
On Saturday, 10 May 2014 at 11:59:03 UTC, Robert Schadek via Digitalmars-d-learn wrote: On 05/10/2014 01:09 AM, Chris Piker via Digitalmars-d-learn wrote: Phobos' std.getopt is a bit spare for my taste, as there is no builtin general help facility with word-wrapping. ... -- Chris please help

Re: Recommendation on option parsing

2014-05-12 Thread Chris Piker via Digitalmars-d-learn
On Saturday, 10 May 2014 at 09:50:04 UTC, Jacob Carlborg wrote: On 2014-05-10 01:09, Chris Piker wrote: Phobos' std.getopt is a bit spare for my taste, as there is no builtin general help facility with word-wrapping. ... I'm using the one in Tango [1] with some additions [2]. It's a bit

Re: Recommendation on option parsing

2014-05-12 Thread Robert Schadek via Digitalmars-d-learn
On 05/12/2014 10:44 PM, Chris Piker via Digitalmars-d-learn wrote: On Saturday, 10 May 2014 at 11:59:03 UTC, Robert Schadek via Digitalmars-d-learn wrote: On 05/10/2014 01:09 AM, Chris Piker via Digitalmars-d-learn wrote: Phobos' std.getopt is a bit spare for my taste, as there is no builtin

Re: Recommendation on option parsing

2014-05-12 Thread Chris Piker via Digitalmars-d-learn
On Monday, 12 May 2014 at 23:11:57 UTC, Robert Schadek via Digitalmars-d-learn wrote: Chris please help to make this happen https://github.com/D-Programming-Language/phobos/pull/2072 I'm not sure what you are asking for. Would you like me to tryout getoptEx? yes please test it Okay, I

Re: Recommendation on option parsing

2014-05-10 Thread Jacob Carlborg via Digitalmars-d-learn
On 2014-05-10 01:09, Chris Piker wrote: Phobos' std.getopt is a bit spare for my taste, as there is no builtin general help facility with word-wrapping. Does anyone have a recommendation on which of the existing command line option parsing libraries floating around in the wild to use? If it

Re: Recommendation on option parsing

2014-05-10 Thread Robert Schadek via Digitalmars-d-learn
On 05/10/2014 01:09 AM, Chris Piker via Digitalmars-d-learn wrote: Phobos' std.getopt is a bit spare for my taste, as there is no builtin general help facility with word-wrapping. Does anyone have a recommendation on which of the existing command line option parsing libraries floating around

Recommendation on option parsing

2014-05-09 Thread Chris Piker via Digitalmars-d-learn
Phobos' std.getopt is a bit spare for my taste, as there is no builtin general help facility with word-wrapping. Does anyone have a recommendation on which of the existing command line option parsing libraries floating around in the wild to use? If it doesn't compile against the current version