Re: DMD Frontend working in WebAssembly

2021-10-14 Thread hatf0 via Digitalmars-d-announce
On Thursday, 14 October 2021 at 22:56:07 UTC, hatf0 wrote: Hi all, I've just managed to get the full DMD front-end to work in WebAssembly (with skoppe's druntime fork). This doesn't do code-gen or anything (but it potentially could?), and has some OS-specific functionality stubbed out. No clu

DMD Frontend working in WebAssembly

2021-10-14 Thread hatf0 via Digitalmars-d-announce
Hi all, I've just managed to get the full DMD front-end to work in WebAssembly (with skoppe's druntime fork). This doesn't do code-gen or anything (but it potentially could?), and has some OS-specific functionality stubbed out. No clue about GC -- haven't run into that issue, haven't thought

Re: OpenBSD DMD package

2021-10-14 Thread Jacob Carlborg via Digitalmars-d-announce
On Thursday, 14 October 2021 at 16:14:17 UTC, Brian wrote: Awesome! I will spend some time soon figuring it out. Here are two real world examples: https://github.com/jacob-carlborg/lime/blob/master/.github/workflows/ci.yml https://github.com/jacob-carlborg/dlp/blob/master/.github/workflows/ci

Re: OpenBSD DMD package

2021-10-14 Thread Brian via Digitalmars-d-announce
On Thursday, 14 October 2021 at 14:51:57 UTC, Jacob Carlborg wrote: On Tuesday, 12 October 2021 at 12:42:09 UTC, Brian wrote: I don't think any of the free ones support OpenBSD yet :) There is SourceHut, which does support OpenBSD CI, but I don't think it is free to use. You can use my GitHu

Re: New library: argparse, for parsing CLI arguments

2021-10-14 Thread Steven Schveighoffer via Digitalmars-d-announce
On 10/13/21 9:13 PM, Andrey Zherikov wrote: On Thursday, 14 October 2021 at 00:35:11 UTC, Bill Baxter wrote: Not sure how much change there is over "classic" gflags, but https://abseil.io/docs/cpp/guides/flags is what google now uses internally. Abseil version suggests not to put flags in

Re: New library: argparse, for parsing CLI arguments

2021-10-14 Thread Steven Schveighoffer via Digitalmars-d-announce
On 10/13/21 7:36 PM, Andrey Zherikov wrote: On Wednesday, 13 October 2021 at 16:24:52 UTC, Steven Schveighoffer wrote: The point is that I shouldn't have to tell the library the name of something that I've already given a name to. Having them named differently on the command line than the actu

Re: OpenBSD DMD package

2021-10-14 Thread Jacob Carlborg via Digitalmars-d-announce
On Tuesday, 12 October 2021 at 12:42:09 UTC, Brian wrote: I don't think any of the free ones support OpenBSD yet :) There is SourceHut, which does support OpenBSD CI, but I don't think it is free to use. You can use my GitHub action: https://github.com/marketplace/actions/cross-platform-acti

Re: New library: argparse, for parsing CLI arguments

2021-10-14 Thread Andrey Zherikov via Digitalmars-d-announce
On Thursday, 14 October 2021 at 13:51:50 UTC, Paul Backus wrote: On Thursday, 14 October 2021 at 13:37:29 UTC, Andrey Zherikov wrote: Another thing is that I couldn't use `allMembers` without using the module name explicitly, because: `__traits(isModule, __MODULE__)` returns `false` and `__trai

Re: New library: argparse, for parsing CLI arguments

2021-10-14 Thread Paul Backus via Digitalmars-d-announce
On Thursday, 14 October 2021 at 13:37:29 UTC, Andrey Zherikov wrote: Another thing is that I couldn't use `allMembers` without using the module name explicitly, because: `__traits(isModule, __MODULE__)` returns `false` and `__traits(allMembers, __MODULE__)` gives `"mymodule" can't have members,

Re: New library: argparse, for parsing CLI arguments

2021-10-14 Thread Andrey Zherikov via Digitalmars-d-announce
On Thursday, 14 October 2021 at 02:09:35 UTC, Bill Baxter wrote: Yeh, it's definitely a mixed bag. It can be very convenient to be able to put the flag right near point of use without having to do any plumbing. But sometimes it can be frustrating given that "flags" are essentially a single glo