On Fri, Mar 18, 2022 at 09:30:57PM +, Adam Ruppe via Digitalmars-d-announce
wrote:
[...]
> One approach you might consider is a hybrid too, where you have the
> big struct you build out of the individual udas.
>
> So you work on the big one but you do getBig!decl and it loops through
> the me
On Friday, 18 March 2022 at 18:21:46 UTC, Anonymouse wrote:
I use UDAs extensively in my project and I've historically been
doing the multiple-UDA approach you describe. Upon seeing
argparse a few months back I started rewriting it to use a
single UDA, and I found it allowed for a simpler imple
On Fri, Mar 18, 2022 at 06:21:46PM +, Anonymouse via Digitalmars-d-announce
wrote:
> On Thursday, 17 March 2022 at 19:07:28 UTC, H. S. Teoh wrote:
> > Using independent, orthogonal UDAs may make option specification
> > using your module easier to read. For example, from your docs:
[...]
> > I
On Friday, 18 March 2022 at 19:09:27 UTC, Adam D Ruppe wrote:
On Friday, 18 March 2022 at 18:21:46 UTC, Anonymouse wrote:
One drawback is documentation; adrdox does *not* like these
kinds of UDAs.
It is on my list to run big UDAs through the auto-formatter at
some point pretty soon to help wi
On Friday, 18 March 2022 at 18:21:46 UTC, Anonymouse wrote:
One drawback is documentation; adrdox does *not* like these
kinds of UDAs.
It is on my list to run big UDAs through the auto-formatter at
some point pretty soon to help with this. I just have a big work
project I'm wrapping up first.
On Thursday, 17 March 2022 at 19:07:28 UTC, H. S. Teoh wrote:
Using independent, orthogonal UDAs may make option
specification using your module easier to read. For example,
from your docs:
struct T {
@(NamedArgument
.PreValidation!((string s) { return s.length > 1 &
On Mon, Mar 14, 2022 at 03:06:44AM +, Andrey Zherikov via
Digitalmars-d-announce wrote:
> Hi everyone,
>
> I'd like to share that I've published a new version of
> [argparse](https://code.dlang.org/packages/argparse) library. It's
> got some new features since my [first
> announcement](https
On Monday, 14 March 2022 at 13:09:53 UTC, Guillaume Piolat wrote:
On Monday, 14 March 2022 at 03:06:44 UTC, Andrey Zherikov wrote:
In case if anyone has thoughts about what feature is missed in
the library, I'm open to the suggestions.
A v1.0.0 tag. A roadmap, examples, tutorials are already
Daaamn. I planned to make a decent library for argument parsing, but
apparently it is already there. This is such a nice work!
I'm going to try this out and give some feedback :)
On Mon, 14 Mar 2022, 03:10 Andrey Zherikov via Digitalmars-d-announce, <
digitalmars-d-announce@puremagic.com> wrote:
On Monday, 14 March 2022 at 03:06:44 UTC, Andrey Zherikov wrote:
In case if anyone has thoughts about what feature is missed in
the library, I'm open to the suggestions.
A v1.0.0 tag. A roadmap, examples, tutorials are already good.
But without a commitment to SemVer stability, it's hard to
Hi everyone,
I'd like to share that I've published a new version of
[argparse](https://code.dlang.org/packages/argparse) library.
It's got some new features since my [first
announcement](https://forum.dlang.org/post/zjljbdzfrtcxfiuzo...@forum.dlang.org) as well as some bug fixes:
- Support of
11 matches
Mail list logo