Re: A little wrap over std.json

2016-03-03 Thread growlercab via Digitalmars-d-announce
On Wednesday, 2 March 2016 at 12:01:05 UTC, Andrea Fontana wrote: I just released on behalf of the company I work for (http://lab.2night.it ) a small library that works over std.json library. It is used internally but I think it can be useful for others too. It is focused on reading/writing J

Re: Argon: an alternative parser for command-line arguments

2016-03-03 Thread Markus Laker via Digitalmars-d-announce
On Thursday, 3 March 2016 at 01:52:11 UTC, Chris Wright wrote: You might want to take a minute to shill it here. What's great about it? OK. :-) * It parses positional parameters, error-checks them and places them into type-safe variables: it doesn't just pick out named --switches and then l

Re: Argon: an alternative parser for command-line arguments

2016-03-03 Thread Markus Laker via Digitalmars-d-announce
On Thursday, 3 March 2016 at 04:48:42 UTC, Jason White wrote: Looks nice! Can it support sub-commands (e.g., git status)? I suppose that can be done by passing through unused arguments and parsing those again. Yes, that's what I'd do. Also, you'll get more users if it's a dub package and on

Re: Argon: an alternative parser for command-line arguments

2016-03-03 Thread Johannes Pfau via Digitalmars-d-announce
Am Thu, 03 Mar 2016 09:09:38 + schrieb Markus Laker : > * It can open files specified at the command line. It can do a > simplified version of what cat(1) does and many Perl programs so, > and open a file specified by the user or fall back to reading > from stdin. There's also a conventio

Release D 2.070.2

2016-03-03 Thread Martin Nowak via Digitalmars-d-announce
Glad to announce D 2.070.2. http://dlang.org/download.html This unplanned point release fixes just a single issue over 2.070.2, see the changelog for more details. http://dlang.org/changelog/2.070.2.html -Martin

Re: Argon: an alternative parser for command-line arguments

2016-03-03 Thread Jacob Carlborg via Digitalmars-d-announce
On 2016-03-02 20:50, Markus Laker wrote: https://github.com/markuslaker/Argon Let me know if you do something interesting with it. Does it support some longer documentation for the flags, i.e. "git status -h" vs "git status --help"? -- /Jacob Carlborg

Re: Argon: an alternative parser for command-line arguments

2016-03-03 Thread Nick Sabalausky via Digitalmars-d-announce
On 03/02/2016 02:50 PM, Markus Laker wrote: https://github.com/markuslaker/Argon Let me know if you do something interesting with it. Markus Reminds me of one I used years ago for C#: I like the approach, it's a good one. Getopt by comparison, while very good, always seemed like a kludge t

Re: Argon: an alternative parser for command-line arguments

2016-03-03 Thread Markus Laker via Digitalmars-d-announce
On Thursday, 3 March 2016 at 04:48:42 UTC, Jason White wrote: I was also dissatisfied with std.getopt and wrote a command line argument parser (competition!): https://github.com/jasonwhite/darg Though it's not quite feature-complete yet, it does everything I need it to. It uses compile-ti

Re: Argon: an alternative parser for command-line arguments

2016-03-03 Thread Markus Laker via Digitalmars-d-announce
On Thursday, 3 March 2016 at 09:33:38 UTC, Johannes Pfau wrote: The rest of this list sounds quite good, but please reconsider automatically opening files: https://media.ccc.de/v/32c3-7130-the_perl_jam_2 I guess the scenario can't happen in D as our open file methods won't execute programs (!

Re: Argon: an alternative parser for command-line arguments

2016-03-03 Thread Markus Laker via Digitalmars-d-announce
On Thursday, 3 March 2016 at 15:08:37 UTC, Jacob Carlborg wrote: Does it support some longer documentation for the flags, i.e. "git status -h" vs "git status --help"? Yes. You can give an option a description, like this: // ... uint nr_doors; // ... Named("doors", nr_doors, 0) ("number of doo

Re: Argon: an alternative parser for command-line arguments

2016-03-03 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 03/03/2016 04:09 AM, Markus Laker wrote: On Thursday, 3 March 2016 at 01:52:11 UTC, Chris Wright wrote: You might want to take a minute to shill it here. What's great about it? OK. :-) [snip] Very nice! I think we should adopt some of these ideas for std.getopt as well. -- Andrei

Re: DigitalWhip

2016-03-03 Thread artemalive via Digitalmars-d-announce
On Saturday, 13 February 2016 at 19:19:46 UTC, Johan Engelen wrote: On Saturday, 13 February 2016 at 18:48:12 UTC, artemalive wrote: DigitalWhip is a performance benchmark of statically typed programming languages that compile to native code: https://github.com/artemalive/DigitalWhip Could

Deimos bindings to libmrss

2016-03-03 Thread Ilya Yaroshenko via Digitalmars-d-announce
GitHub: https://github.com/9il/mrss Dub: http://code.dlang.org/packages/mrss libmrss: https://github.com/9il/mrss See also: https://github.com/Laeeth/d_rss/

Re: Deimos bindings to libmrss

2016-03-03 Thread Ilya Yaroshenko via Digitalmars-d-announce
On Friday, 4 March 2016 at 07:43:59 UTC, Ilya Yaroshenko wrote: GitHub: https://github.com/9il/mrss Dub: http://code.dlang.org/packages/mrss libmrss: https://github.com/9il/mrss See also: https://github.com/Laeeth/d_rss/ EDIT: libmrss: http://www.autistici.org/bakunin/libmrss