Re: VSCode plugins

2017-07-05 Thread MakersF via Digitalmars-d
On Wednesday, 5 July 2017 at 02:46:05 UTC, Manu wrote: On 5 July 2017 at 12:37, bitwise via Digitalmars-d < digitalmars-d@puremagic.com> wrote: On Tuesday, 4 July 2017 at 04:49:29 UTC, Manu wrote: My feeling is, having 2 very similar plugins is confusing to potential users, and it

Re: Value closures (no GC allocation)

2017-06-04 Thread MakersF via Digitalmars-d
On Sunday, 21 May 2017 at 00:33:30 UTC, Vittorio Romeo wrote: Hello everyone, I recently started learning D (I come from a Modern C++ background) and I was curious about closures that require GC allocation. I wrote this simple example: [...] I started to do some changes to the compiler.

Re: Value closures (no GC allocation)

2017-05-29 Thread MakersF via Digitalmars-d
On Thursday, 25 May 2017 at 03:10:04 UTC, Adam D. Ruppe wrote: Snip I think the discussion is going in two orthogonal directions, which are: 1) Capture by value. This is the ability to have a lambda which behaves as expected in the example Vittorio showed void delegate()[] arr;

Re: Language server protocol implementation for D

2017-01-18 Thread MakersF via Digitalmars-d
On Wednesday, 18 January 2017 at 12:29:38 UTC, Atila Neves wrote: On Wednesday, 18 January 2017 at 09:31:49 UTC, xtreak wrote: Rust is making good progress on the IDE aspect with the announcement : http://www.jonathanturner.org/2017/01/rls-alpha-release.html. HN discussion :

Re: Don't truncate forum titles, use multiple lines instead

2016-11-20 Thread MakersF via Digitalmars-d
On Sunday, 20 November 2016 at 08:59:19 UTC, Tourist wrote: Please implement the suggestion. Thanks. http://imgur.com/X7fJLpF I have this problem as well. The usual workaround of long pressing on the link to see the full URL is useless because the URL do not show the topic title in them..

Re: Battle-plan for CTFE

2016-10-26 Thread MakersF via Digitalmars-d-announce
On Wednesday, 26 October 2016 at 15:02:28 UTC, Stefam Koch wrote: Who can guess what this code does ? char[] obfuscatedFn(string a, string b, uint aLength = 0, uint bLength = 0, uint cLength = 0, uint pos = 0, uint bPos = 0, char[] result = []) { aLength = cast(uint)a.length;

Re: Why are homepage examples too complicated?

2016-10-18 Thread MakersF via Digitalmars-d
On Tuesday, 18 October 2016 at 15:41:29 UTC, Jesse Phillips wrote: On Monday, 17 October 2016 at 20:13:19 UTC, Karabuta wrote: I would suggest they remove all templates and make it its own example. * Basic functional/ranges example = map, filter, reduce Templates * basic helloworld =

Re: integral to floating point conversion

2016-07-02 Thread MakersF via Digitalmars-d
On Saturday, 2 July 2016 at 20:49:27 UTC, Andrei Alexandrescu wrote: On 7/2/16 4:30 PM, Walter Bright wrote: On 7/2/2016 1:17 PM, Andrei Alexandrescu wrote: So what's the fastest way to figure that an integral is convertible to a floating point value precisely (i.e. no other integral converts

Re: Interpreting the D grammar

2015-08-06 Thread MakersF via Digitalmars-d
On Sunday, 2 August 2015 at 18:22:01 UTC, Jacob Carlborg wrote: On 02/08/15 19:15, Xinok wrote: I guess you're not familiar with the theoretical aspect of formal languages. The D grammar is a context-free grammar which cannot be reduced to a regular expression. As cym13 stated, there are

Re: Interpreting the D grammar

2015-08-02 Thread MakersF via Digitalmars-d
On Sunday, 2 August 2015 at 14:50:35 UTC, Jacob Carlborg wrote: I'm trying to read the D grammar [1] to enhance the D TextMate bundle. If we take the add expression as an example. It's defined like this in the grammar: AddExpression: MulExpression AddExpression + MulExpression