On 24.11.2016 10:47, Kagamin wrote:
As to contracts without body we have
https://issues.dlang.org/show_bug.cgi?id=4720
There is even this: https://github.com/dlang/dmd/pull/3611
(Only works for interfaces and abstract classes though. Note that the
parser didn't change.)
On 24.11.2016 10:24, Kagamin wrote:
On Wednesday, 23 November 2016 at 20:24:13 UTC, Timon Gehr wrote:
Technically, there is an ambiguity (technically, ambiguity means that
there are multiple grammar derivations resulting in the same sentence).
Pragmatically, the greedy parse-the-body-if-possible
Am 25.11.2016 um 12:39 schrieb Timon Gehr:
On 24.11.2016 10:24, Kagamin wrote:
I see no ambiguity even if parsing is not greedy.
import std.stdio;
pragma(mangle,"_D2tt4mainFZ3fooUZv")
void foo()in{ assert(true); }{
writeln("Hello World!");
}
void main(){
static extern(C) void foo()in{
On 25.11.2016 22:18, Sönke Ludwig wrote:
Am 25.11.2016 um 12:39 schrieb Timon Gehr:
On 24.11.2016 10:24, Kagamin wrote:
I see no ambiguity even if parsing is not greedy.
import std.stdio;
pragma(mangle,"_D2tt4mainFZ3fooUZv")
void foo()in{ assert(true); }{
writeln("Hello World!");
}
void m
https://github.com/libmir/mir-random
http://docs.random.dlang.io/latest/index.html
Am 25.11.2016 um 23:28 schrieb Timon Gehr:
On 25.11.2016 22:18, Sönke Ludwig wrote:
Am 25.11.2016 um 12:39 schrieb Timon Gehr:
On 24.11.2016 10:24, Kagamin wrote:
I see no ambiguity even if parsing is not greedy.
import std.stdio;
pragma(mangle,"_D2tt4mainFZ3fooUZv")
void foo()in{ assert(tru
On Wednesday, 23 November 2016 at 20:54:27 UTC, Andy Smith wrote:
On Wednesday, 23 November 2016 at 01:36:20 UTC, Andrei
Alexandrescu wrote:
On 11/19/16 4:17 PM, Andy Smith wrote:
Until branding for the 2017 conf is sorted out/agreed would
it be a big
deal to 'steal' the cool purple D rocket
On Sat, Nov 26, 2016 at 1:14 AM, Ilya Yaroshenko via
Digitalmars-d-announce wrote:
>
> https://github.com/libmir/mir-random
> http://docs.random.dlang.io/latest/index.html
Like the betterC use case. Nice API.
first example from the docs:
import mir.random.engine.xorshift;
auto gen = Xorshift(1