Re: I have a plan.. I really DO

2018-07-10 Thread Yuxuan Shui via Digitalmars-d-announce
On Friday, 6 July 2018 at 21:15:46 UTC, H. S. Teoh wrote: On Fri, Jul 06, 2018 at 08:16:36PM +, Ecstatic Coder via Digitalmars-d-announce wrote: [...] I've never said that this is something smart to do. I'm just saying that this code can perfectly be executed once in a C++ game frame

Re: DIP Draft Review News

2018-06-04 Thread Yuxuan Shui via Digitalmars-d-announce
On Monday, 4 June 2018 at 11:28:26 UTC, rikki cattermole wrote: Thought: Couldn't we have alternative names in the parameter instead? E.g. ```D void foo(int x/x0/width, int y/y0/height){} ``` This intuitively means that any combination of the parameter names would work (e.g. (x, y0),

Re: DIP Draft Review News

2018-06-04 Thread Yuxuan Shui via Digitalmars-d-announce
On Monday, 4 June 2018 at 10:30:18 UTC, rikki cattermole wrote: On 04/06/2018 10:05 PM, Yuxuan Shui wrote: On Monday, 4 June 2018 at 05:46:04 UTC, rikki cattermole wrote: [...] Not sure what you meant? This definitely does not error out: https://godbolt.org/g/PAiFPw ```D @named: int

Re: DIP Draft Review News

2018-06-04 Thread Yuxuan Shui via Digitalmars-d-announce
On Monday, 4 June 2018 at 05:46:04 UTC, rikki cattermole wrote: On 04/06/2018 5:01 PM, Mike Parker wrote: Named arguments lite I'm concerned about this DIP (keep in mind I wrote a referenced WIP DIP). 1. Reordering of parameters that match (with overloads) ```D int add(int a, int b); int

Re: Release D 2.076.0

2017-09-01 Thread Yuxuan Shui via Digitalmars-d-announce
On Friday, 1 September 2017 at 14:03:26 UTC, Martin Nowak wrote: Glad to announce D 2.076.0. This release comes with static foreach, many -betterC enhancements, various phobos additions, an -mcpu=avx2 switch, and lots of bugfixes. Thanks to everyone involved in this .

Re: Working code in an upcoming PR by Timon Gehr

2017-05-09 Thread Yuxuan Shui via Digitalmars-d-announce
On Tuesday, 9 May 2017 at 13:19:09 UTC, Timon Gehr wrote: On 07.05.2017 19:03, Stanislav Blinov wrote: On Sunday, 7 May 2017 at 16:57:58 UTC, Andrei Alexandrescu wrote: [...] I see only unsurprising Jpeg artifacts and not much more :) It's too low resolution to make anything out. It's

Re: sdpc - Simple/Stupid D parser combinator

2017-03-24 Thread Yuxuan Shui via Digitalmars-d-announce
On Friday, 24 March 2017 at 17:53:14 UTC, Basile B. wrote: On Thursday, 23 March 2017 at 22:55:10 UTC, Yuxuan Shui wrote: [...] Thanks for sharing this but your project is not visible! Gitlab is a bit confusing because by default repositories are private. Go to your project setting(should

Re: sdpc - Simple/Stupid D parser combinator

2017-03-23 Thread Yuxuan Shui via Digitalmars-d-announce
BTW, ddox cleanly has some problem with this symbol: https://yshui.gitlab.io/sdpc/sdpc/parsers/skip_whitespace.html

sdpc - Simple/Stupid D parser combinator

2017-03-23 Thread Yuxuan Shui via Digitalmars-d-announce
GitLab: https://gitlab.com/yshui/sdpc Documents: https://yshui.gitlab.io/sdpc Dub: http://code.dlang.org/packages/sdpc I started this project ~1.8 years ago. It only took me a couple of weeks to write, and I learned a lot about D's template system (and its limitations) by writing it. But back

Re: DConf 2017 Schedule

2017-03-16 Thread Yuxuan Shui via Digitalmars-d-announce
On Wednesday, 15 March 2017 at 22:07:26 UTC, Bastiaan Veelo wrote: On Wednesday, 15 March 2017 at 14:06:23 UTC, Yuxuan Shui wrote: So someone already wrote a parser combinator for D? I searched code.dlang.org (1.5 years ago?), and there was none, so I wasted couple weeks writing my own

Re: DConf 2017 Schedule

2017-03-15 Thread Yuxuan Shui via Digitalmars-d-announce
On Tuesday, 14 March 2017 at 20:16:34 UTC, Ali Çehreli wrote: On 03/14/2017 09:35 AM, Moritz Maxeiner wrote: On Tuesday, 14 March 2017 at 16:12:56 UTC, Mike Parker wrote: Fresh from the D Foundation HQ, the DConf 2017 schedule [1] is now available for your perusal. If you haven't registered

Re: New (page-per-artifact) standard library doc examples are now editable and runnable

2017-02-17 Thread Yuxuan Shui via Digitalmars-d-announce
On Saturday, 7 January 2017 at 21:19:42 UTC, Seb wrote: On Saturday, 7 January 2017 at 20:14:56 UTC, Martin Nowak wrote: On 01/07/2017 05:12 PM, Andrei Alexandrescu wrote: Following https://github.com/dlang/dlang.org/pull/1532, the new-style docs now also allow editing and running examples.

Re: From the D Blog -- GSoC Report: Step

2016-09-11 Thread Yuxuan Shui via Digitalmars-d-announce
On Friday, 9 September 2016 at 18:46:30 UTC, jmh530 wrote: On Friday, 9 September 2016 at 18:22:02 UTC, ciechowoj wrote: I'm not sure about any special syntax which is expected for languages which have built-in sets. It would probably be overkill to add syntax support, but I'm not sure how