June 09, 2020 Re: Metaprogramming with D | ||||
---|---|---|---|---|
| ||||
Posted in reply to ag0aep6g | On 6/8/20 7:50 AM, ag0aep6g wrote: > https://ddili.org/ders/d.en/literals.html#ix_literals.q%7B%7D Thank you. I am biased but I like my :) index of the book, where all such syntax items appear: https://ddili.org/ders/d.en/ix.html Ali |
June 09, 2020 Re: Metaprogramming with D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ali Çehreli | On 09.06.20 20:16, Ali Çehreli wrote:
> I am biased but I like my :) index of the book, where all such syntax items appear:
>
> https://ddili.org/ders/d.en/ix.html
Oh yeah. It's how I got the link. You might want to fix some of the URLs, though. Characters like '{' or '[' need to be percent-encoded.
|
June 09, 2020 Re: Metaprogramming with D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jan Hönig | On Monday, 8 June 2020 at 14:41:55 UTC, Jan Hönig wrote:
> On Sunday, 7 June 2020 at 00:45:37 UTC, Ali Çehreli wrote:
>>
>> dmd -mixin=<filename> ...
>
> thanks for the tip!
>
>
>>
>> writeln(q{
>> void foo() {
>> }
>> });
>
> What is the name of this `q` thing?
> How do i find it? Are there any recent tutorials on it?
Ali's online book consolidates a lot of D language knowledge like this. I forgot about token string literals myself but then remembered it was in his book.
|
Copyright © 1999-2021 by the D Language Foundation