On Tuesday, 20 September 2016 at 15:36:42 UTC, Chris wrote:
On Tuesday, 20 September 2016 at 15:31:21 UTC, eugene wrote:
On Tuesday, 20 September 2016 at 15:28:51 UTC, Chris wrote:
Anyway, why don't you grab the compiler and make a version that accepts line breaks and ";" - and see what happens?

yes, i've written about it in the thread before

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?

It'd be interesting, because it would finally provide data for the ever-recurring question of whether to have semicolons or not.

¿How would you handle cases like

debug { writeln("Error"); return; }

of just

debug { writeln("Error"); }

Reply via email to