On Wednesday, 25 November 2020 at 21:36:36 UTC, Q. Schroll wrote:
[1] https://wiki.dlang.org/Building_under_Windows
You might try Digger. That will hide all the tedious bits.
https://code.dlang.org/packages/digger
On Wednesday, 25 November 2020 at 21:36:36 UTC, Q. Schroll wrote:
On Wednesday, 25 November 2020 at 21:16:15 UTC, Steven
Schveighoffer wrote:
I typically do:
make -f posix.mak std/.test
-Steve
For some reason, [1] says `make.exe` would be installed by the
DMD installer, but I found none.
On Wednesday, 25 November 2020 at 18:44:52 UTC, NonNull wrote:
Is there a good way to simulate computed goto in D?
I haven't used assembly myself, but it's possible that you can
define a mixin that does this, using inline assembly.
On Thursday, 26 November 2020 at 00:17:26 UTC, Q. Schroll wrote:
One of the issues is, I don't know what DRuntime really is. As
far as I understand on the surface-level, it's functionality
one would expect to be implemented by the compiler, but
actually implemented in plain D code. A
On Wednesday, 25 November 2020 at 21:57:12 UTC, H. S. Teoh wrote:
On Wed, Nov 25, 2020 at 09:49:12PM +, Paul Backus via
Digitalmars-d-learn wrote:
On Wednesday, 25 November 2020 at 21:16:06 UTC, Q. Schroll
wrote:
> On Wednesday, 25 November 2020 at 21:11:24 UTC, Paul Backus
> wrote:
> > On
On Wed, Nov 25, 2020 at 09:49:12PM +, Paul Backus via Digitalmars-d-learn
wrote:
> On Wednesday, 25 November 2020 at 21:16:06 UTC, Q. Schroll wrote:
> > On Wednesday, 25 November 2020 at 21:11:24 UTC, Paul Backus wrote:
> > > On Wednesday, 25 November 2020 at 20:58:20 UTC, Q. Schroll wrote:
>
On Wednesday, 25 November 2020 at 21:16:06 UTC, Q. Schroll wrote:
On Wednesday, 25 November 2020 at 21:11:24 UTC, Paul Backus
wrote:
On Wednesday, 25 November 2020 at 20:58:20 UTC, Q. Schroll
wrote:
My setup:
* A fresh DMD installed a few minutes ago.
* Clone of my Phobos fork with up-to-date
On Wednesday, 25 November 2020 at 21:16:15 UTC, Steven
Schveighoffer wrote:
I typically do:
make -f posix.mak std/.test
-Steve
For some reason, [1] says `make.exe` would be installed by the
DMD installer, but I found none. It explicitly says not to use
GNU make. (I'm on Windows.)
[1]
On Wednesday, 25 November 2020 at 21:11:24 UTC, Paul Backus wrote:
On Wednesday, 25 November 2020 at 20:58:20 UTC, Q. Schroll
wrote:
My setup:
* A fresh DMD installed a few minutes ago.
* Clone of my Phobos fork with up-to-date changes from
dlang/phobos/master.
Do you have clones of dmd and
On 11/25/20 3:58 PM, Q. Schroll wrote:
When trying to unit-test an unchanged phobos module from phobos/master,
I get errors such as
module core.lifetime import copyEmplace not found
and template instantiation errors. What is the correct arguments to pass
to (r)dmd? I know it worked for
On Wednesday, 25 November 2020 at 20:58:20 UTC, Q. Schroll wrote:
My setup:
* A fresh DMD installed a few minutes ago.
* Clone of my Phobos fork with up-to-date changes from
dlang/phobos/master.
Do you have clones of dmd and druntime too? If not, try following
these instructions:
When trying to unit-test an unchanged phobos module from
phobos/master, I get errors such as
module core.lifetime import copyEmplace not found
and template instantiation errors. What is the correct arguments
to pass to (r)dmd? I know it worked for me some years ago, but
somehow, it
On Wednesday, 25 November 2020 at 19:04:45 UTC, H. S. Teoh wrote:
FWIW, D's switch statement is flexible enough to directly write
Duff's device.
How good is optimization in ldc2, gdc, dmd at compiling
chained jumps into one jump each time?
I'm pretty sure ldc2 and gdc will optimize away
On Wednesday, 25 November 2020 at 17:26:44 UTC, Alaindevos wrote:
hunt-http has no documentation and does not looks usable to me.
What looks usable is kemal & the crystal language,
https://kemalcr.com/guide/
Looks like Sinatra. That makes sense given the relationship of
Crystal to Ruby. Many
On Wed, Nov 25, 2020 at 06:44:52PM +, NonNull via Digitalmars-d-learn wrote:
> For automatically generated code of some low level kinds it is
> convenient to have "computed goto" like this:
>
> https://gcc.gnu.org/onlinedocs/gcc/Labels-as-Values.html
>
> and D does not have this.
>
> A
On Wednesday, 25 November 2020 at 18:44:52 UTC, NonNull wrote:
How good is optimization in ldc2, gdc, dmd at compiling chained
jumps into one jump each time?
The easiest way to find the answer to a question like this is to
use the compiler explorer:
https://d.godbolt.org/
For automatically generated code of some low level kinds it is
convenient to have "computed goto" like this:
https://gcc.gnu.org/onlinedocs/gcc/Labels-as-Values.html
and D does not have this.
A switch could be used to simulate it. But this would lead to
what could have been a single jump
hunt-http has no documentation and does not looks usable to me.
What looks usable is kemal & the crystal language,
https://kemalcr.com/guide/
On Wednesday, 25 November 2020 at 16:27:41 UTC, Jan Hönig wrote:
What is the "easiest" way to parse D code?
(...)
libdparse seems to do it as well with `parseModule` function.
https://github.com/dlang-community/libdparse/blob/master/src/dparse/parser.d
I recommend libdparse.
dmd has to do it
What is the "easiest" way to parse D code?
Given an Expression/Statement/Function/Template I want to put
it into a program, and it returns me an AST.
D-Scanner seems to do that with `--ast` argument. I would need to
dig into it, to get it programmatically, instead of as XML on the
On Wednesday, 25 November 2020 at 12:28:20 UTC, Paul Backus wrote:
Maybe this is the one you're thinking of?
https://www.informit.com/articles/article.aspx?p=1407357
Ye, it is.
Thank you very much Paul.
On Wednesday, 25 November 2020 at 11:13:24 UTC, ddcovery wrote:
Months ago I read an Andrei article explaining why Ranges
(comparing with C++). I remember article introduction included
a python "false" quick-sort algorithm.
I'm really interested in a more detailed read of the article,
but I
Months ago I read an Andrei article explaining why Ranges
(comparing with C++). I remember article introduction included a
python "false" quick-sort algorithm.
I'm really interested in a more detailed read of the article, but
I can't find it. If some one can post the link :-)
Thank you
On Saturday, 17 October 2020 at 18:39:54 UTC, starcanopy wrote:
On Saturday, 17 October 2020 at 09:33:04 UTC, tastyminerals
wrote:
On Sunday, 11 October 2020 at 18:51:17 UTC, tastyminerals
wrote:
[...]
So, this is even tricky in Python TkInter but possible.
In tkd this is not possible
24 matches
Mail list logo