Re: Getters/setters generator

2017-01-16 Thread Eugene Wissner via Digitalmars-d-announce
On Tuesday, 17 January 2017 at 07:06:05 UTC, Stefan Koch wrote: On Tuesday, 17 January 2017 at 06:26:35 UTC, Eugene Wissner wrote: On Friday, 9 December 2016 at 18:53:55 UTC, Andrei Alexandrescu wrote: Love it, and was toying with similar ideas too. One good extension is to add a predicate

Re: Getters/setters generator

2017-01-16 Thread Stefan Koch via Digitalmars-d-announce
On Tuesday, 17 January 2017 at 06:26:35 UTC, Eugene Wissner wrote: On Friday, 9 December 2016 at 18:53:55 UTC, Andrei Alexandrescu wrote: Love it, and was toying with similar ideas too. One good extension is to add a predicate to the setter, which guards the assignment. -- Andrei What kind

Re: Getters/setters generator

2017-01-16 Thread Eugene Wissner via Digitalmars-d-announce
On Friday, 9 December 2016 at 18:53:55 UTC, Andrei Alexandrescu wrote: Love it, and was toying with similar ideas too. One good extension is to add a predicate to the setter, which guards the assignment. -- Andrei What kind of predicate do you mean? Can you give an example please?

Re: Getters/setters generator

2017-01-16 Thread Eugene Wissner via Digitalmars-d-announce
On Friday, 9 December 2016 at 10:27:05 UTC, Eugene Wissner wrote: Hello, we've just open sourced a small module ("accessors") that helps to generate getters and setters automatically: https://github.com/funkwerk/accessors http://code.dlang.org/packages/accessors It takes advantage of the

Re: Android LDC in a Container

2017-01-16 Thread Xavier Bigand via Digitalmars-d-announce
Le 15/01/2017 à 18:40, Andre Pany a écrit : Hi, on Dockerhub I published a repository which makes it really easy to develop Android applications using LDC and Joakims work. The repository contains Android 1.1.0 beta from https://github.com/joakim-noah/android/releases and also the NDK from

Re: Pry v0.3.1 is out!

2017-01-16 Thread Dmitry Olshansky via Digitalmars-d-announce
On 1/16/17 1:29 AM, Bastiaan Veelo wrote: On Sunday, 15 January 2017 at 01:26:07 UTC, Dmitry Olshansky wrote: Pry is a new pragmatic parser combinators library. https://github.com/DmitryOlshansky/pry Interesting. How about left-recursion? (I added support for left-recursive grammars to

Re: Vision document for H1 2017

2017-01-16 Thread Andrew Browne via Digitalmars-d-announce
On Friday, 13 January 2017 at 04:02:38 UTC, Jonathan M Davis wrote: On Thursday, January 12, 2017 21:57:37 Andrew Browne via Digitalmars-d- announce wrote: On Wednesday, 4 January 2017 at 19:22:33 UTC, Andrei Alexandrescu wrote: > We release a brief Vision document summarizing the main >

Re: SmartRef: The Smart Pointer In D

2017-01-16 Thread biozic via Digitalmars-d-announce
On Monday, 16 January 2017 at 01:54:35 UTC, Dsby wrote: On Sunday, 15 January 2017 at 17:24:25 UTC, biozic wrote: On Sunday, 15 January 2017 at 15:56:30 UTC, Dsby wrote: and : In https://github.com/dlang/phobos/blob/master/std/typecons.d#L147 ~this() { debug(Unique)