February 12, 2018
On 02/09/2018 07:11 AM, Kagamin wrote:
> On Friday, 9 February 2018 at 11:16:01 UTC, Nick Sabalausky (Abscissa) wrote:
>> On 02/09/2018 05:31 AM, Kagamin wrote:
>>> version(none)q{ FOO }; is likely to work for most stuff too.
>>
>> /+ +/ is likely to work for most stuff, too.
> 
> So do /* */

Seriously, are you trying to troll? (Not rhetorical, genuinely wondering.)

No. No, /* */ isn't likely to work with most stuff. Not in any codebase that actually USES /* */. Not without it being granted nestability. And no, I'm not talking theoretically or speculating here, this is speaking from years of direct experience on codebases that use /* */.
February 13, 2018
On Tuesday, 13 February 2018 at 04:16:22 UTC, Nick Sabalausky (Abscissa) wrote:
> On 02/09/2018 07:11 AM, Kagamin wrote:
>> On Friday, 9 February 2018 at 11:16:01 UTC, Nick Sabalausky (Abscissa) wrote:
>>> On 02/09/2018 05:31 AM, Kagamin wrote:
>>>> version(none)q{ FOO }; is likely to work for most stuff too.
>>>
>>> /+ +/ is likely to work for most stuff, too.
>> 
>> So do /* */
>
> Seriously, are you trying to troll? (Not rhetorical, genuinely wondering.)
>
> No. No, /* */ isn't likely to work with most stuff. Not in any codebase that actually USES /* */. Not without it being granted nestability. And no, I'm not talking theoretically or speculating here, this is speaking from years of direct experience on codebases that use /* */.

here's the canonical example where `/* */` fails:

Try to comment that with `/* */`:
```
void drawCircle(int angle /* in degrees */);
```

February 13, 2018
On Tuesday, 13 February 2018 at 04:44:27 UTC, timotheecour wrote:
> Try to comment that with `/* */`:
> ```
> void drawCircle(int angle /* in degrees */);
> ```

When you want to disable whole declaration, version(none) works just fine.
February 13, 2018
On 2018-02-12 23:35, Walter Bright wrote:

> The last dstep commit was November 2017.

Yes? I've been working on a separate branch lately

> I take it dstep spawns the clang compiler?

No, it uses libclang, i.e. using the Clang compiler as a library.

-- 
/Jacob Carlborg
1 2 3 4 5 6
Next ›   Last »