September 20, 2016
On Tuesday, 20 September 2016 at 15:42:58 UTC, eugene wrote:
> On Tuesday, 20 September 2016 at 15:36:42 UTC, Chris wrote:
>> But is it really worth it?
>
> this was my question at the beginning of the thread

You come across as if you had set your heart on removing semicolons.
September 20, 2016
On Tuesday, 20 September 2016 at 15:46:58 UTC, Chris wrote:
> You come across as if you had set your heart on removing semicolons.

i didn't set my heart on removing semicolons, the topic is "consequences of removing semicolons..."
September 20, 2016
On Tuesday, 20 September 2016 at 15:53:20 UTC, eugene wrote:
> On Tuesday, 20 September 2016 at 15:46:58 UTC, Chris wrote:
>> You come across as if you had set your heart on removing semicolons.
>
> i didn't set my heart on removing semicolons, the topic is "consequences of removing semicolons..."

There's only one way to find out :-) Nobody has ever done it before afaik.
September 20, 2016
On Tuesday, 20 September 2016 at 15:36:42 UTC, Chris wrote:
>
> Then try to compile Phobos and a variety of D projects on Github and publish the results. It'd be interesting to see what problems you encounter. Then you might write a tool like dfix that fixes the source code so that ";"-less code is parsed properly etc. But is it really worth it?

If you look at the github page, it seems that it already has this ability, with some qualifications.
September 22, 2016
On Tuesday, 20 September 2016 at 15:42:10 UTC, Chris wrote:
>
> ¿How would you handle cases like
>
> debug { writeln("Error"); return; }
>
> of just
>
> debug { writeln("Error"); }

it is handled by separating each statement with newline, not semicolon
September 22, 2016
On Thursday, 22 September 2016 at 13:44:33 UTC, eugene wrote:
> On Tuesday, 20 September 2016 at 15:42:10 UTC, Chris wrote:
>>
>> ¿How would you handle cases like
>>
>> debug { writeln("Error"); return; }
>>
>> of just
>>
>> debug { writeln("Error"); }
>
> it is handled by separating each statement with newline, not semicolon

What about braces and brackets?

debug { writeln("Error") }

Both `{...}` and `writeln("Error")` are clearly delimited.
September 22, 2016
On Thursday, 22 September 2016 at 14:07:29 UTC, Chris wrote:
> What about braces and brackets?
>
> debug { writeln("Error") }
>

i think writeln("Error") could be parsed as one statement
September 22, 2016
On Thursday, 22 September 2016 at 14:36:31 UTC, eugene wrote:
> On Thursday, 22 September 2016 at 14:07:29 UTC, Chris wrote:
>> What about braces and brackets?
>>
>> debug { writeln("Error") }
>>
>
> i think writeln("Error") could be parsed as one statement

I think so too, and `debug {}` too.
1 2 3 4 5
Next ›   Last »