March 22, 2017 Re: bug in foreach continue | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jesse Phillips | On Wed, Mar 22, 2017 at 11:12:06PM +0000, Jesse Phillips via Digitalmars-d-learn wrote: > On Friday, 17 March 2017 at 19:05:20 UTC, H. S. Teoh wrote: > > There are actually (at least) TWO distinct phases of compilation that are conventionally labelled "compile time": > > > > 1) Template expansion / AST manipulation, and: > > > > 2) CTFE (compile-time function evaluation). > > This was an awesome explanation, please do put it on the wiki or as a pull request for the website. I'm still working on that. :-) But the article is turning out to be quite a bit longer than I anticipated -- there is just so much I want to say! The draft is on the wiki but I don't really want to post the link just yet because it still needs lots of editing before it's ready for public consumption. T -- Dogs have owners ... cats have staff. -- Krista Casada |
March 22, 2017 Re: bug in foreach continue | ||||
---|---|---|---|---|
| ||||
Posted in reply to H. S. Teoh | On 03/22/2017 05:39 PM, H. S. Teoh via Digitalmars-d-learn wrote: > the article is turning out to be quite a bit longer I said "book"; didn't I? :) Ali |
March 23, 2017 Re: bug in foreach continue | ||||
---|---|---|---|---|
| ||||
Posted in reply to H. S. Teoh | On Thursday, 23 March 2017 at 00:39:56 UTC, H. S. Teoh wrote:
> I'm still working on that. :-)
Hey, can you at least put scare quotes around "static foreach" each time it is used? There's no such thing as static foreach and while we might call foreach over a typetuple "static", it isn't a precise term and invites additional confusion.
|
March 24, 2017 Re: bug in foreach continue | ||||
---|---|---|---|---|
| ||||
Posted in reply to Adam D. Ruppe | On Thu, Mar 23, 2017 at 05:11:49PM +0000, Adam D. Ruppe via Digitalmars-d-learn wrote: > On Thursday, 23 March 2017 at 00:39:56 UTC, H. S. Teoh wrote: > > I'm still working on that. :-) > > Hey, can you at least put scare quotes around "static foreach" each time it is used? There's no such thing as static foreach and while we might call foreach over a typetuple "static", it isn't a precise term and invites additional confusion. Done. I've gotten the draft into a semi-acceptable state, though I'm still not fully satisfied with it just yet. But perhaps now is a good time to solicit input from forum members, so here's the link to the draft: https://wiki.dlang.org/User:Quickfur/Compile-time_vs._compile-time T -- It always amuses me that Windows has a Safe Mode during bootup. Does that mean that Windows is normally unsafe? |
Copyright © 1999-2021 by the D Language Foundation