Re: code-d 0.17.0 + serve-d 0.1.2

2018-04-09 Thread evilrat via Digitalmars-d-announce
On Monday, 9 April 2018 at 19:10:46 UTC, Samson wrote: Today I update code-d serve-d and vsc. After which I got the notification that WebFreak001 has deprecate code-d serve-d beta and auto completion stop working. I saw code-d extension with the same icon as code-d serve-d beta so I install

Re: code-d 0.17.0 + serve-d 0.1.2

2018-04-09 Thread Johannes Loher via Digitalmars-d-announce
Am 04.04.2018 um 20:34 schrieb greatsam4sure: > On Tuesday, 3 April 2018 at 23:02:42 UTC, WebFreak001 wrote: >> new code-d (D extension for vscode) and serve-d (Language Server >> Protocol server for it) release >> >> See the CHANGELOG in vscode, or on >>

Re: #include C headers in D code

2018-04-09 Thread Seb via Digitalmars-d-announce
On Monday, 9 April 2018 at 19:36:23 UTC, Atila Neves wrote: On Monday, 9 April 2018 at 18:15:33 UTC, kinke wrote: [...] This whole idea came about because a couple of years ago I was in a team that was responsible for legacy code written in C which had no tests. To write tests, we needed

Re: #include C headers in D code

2018-04-09 Thread Atila Neves via Digitalmars-d-announce
On Monday, 9 April 2018 at 18:15:33 UTC, kinke wrote: On Monday, 9 April 2018 at 11:03:48 UTC, Atila Neves wrote: Here's my blog post about my project that allows directly #including C headers in D* https://atilanevesoncode.wordpress.com/2018/04/09/include-c-headers-in-d-code/ Certainly

Re: DIP 1009 (Add Expression-Based Contract Syntax) Accepted

2018-04-09 Thread Timon Gehr via Digitalmars-d-announce
On 07.04.2018 00:45, Timon Gehr wrote: On 06.04.2018 19:36, H. S. Teoh wrote: On Fri, Apr 06, 2018 at 05:02:54PM +, Adam D. Ruppe via Digitalmars-d-announce wrote: On Friday, 6 April 2018 at 16:57:21 UTC, Jonathan M Davis wrote: Now, if the contracts ended up in the documentation or

Re: code-d 0.17.0 + serve-d 0.1.2

2018-04-09 Thread Samson via Digitalmars-d-announce
On Sunday, 8 April 2018 at 07:40:34 UTC, Domain wrote: On Wednesday, 4 April 2018 at 13:26:18 UTC, WebFreak001 wrote: On Wednesday, 4 April 2018 at 11:08:09 UTC, Domain wrote: On Tuesday, 3 April 2018 at 23:02:42 UTC, WebFreak001 wrote: [...] // >>> many Could not resolve location of module

Re: #include C headers in D code

2018-04-09 Thread bachmeier via Digitalmars-d-announce
On Monday, 9 April 2018 at 18:15:33 UTC, kinke wrote: On Monday, 9 April 2018 at 11:03:48 UTC, Atila Neves wrote: Here's my blog post about my project that allows directly #including C headers in D* https://atilanevesoncode.wordpress.com/2018/04/09/include-c-headers-in-d-code/ Certainly

Re: #include C headers in D code

2018-04-09 Thread kinke via Digitalmars-d-announce
On Monday, 9 April 2018 at 11:03:48 UTC, Atila Neves wrote: Here's my blog post about my project that allows directly #including C headers in D* https://atilanevesoncode.wordpress.com/2018/04/09/include-c-headers-in-d-code/ Certainly interesting. Is there a good reason why you didn't look

Re: DIP 1009 (Add Expression-Based Contract Syntax) Accepted

2018-04-09 Thread Zach Tollen via Digitalmars-d-announce
On Saturday, 7 April 2018 at 16:10:41 UTC, Jacob Carlborg wrote: What's the philosophy around accepted DIPs containing multiple suggestions/alternatives. For example, this DIP mentions three alternatives for the "out" syntax [1], it's not crystal clear which one was actually accepted. I

Re: #include C headers in D code

2018-04-09 Thread Colin via Digitalmars-d-announce
On Monday, 9 April 2018 at 11:03:48 UTC, Atila Neves wrote: Here's my blog post about my project that allows directly #including C headers in D* https://atilanevesoncode.wordpress.com/2018/04/09/include-c-headers-in-d-code/ The summary is that, modulo bugs, things like this work:

Re: #include C headers in D code

2018-04-09 Thread SrMordred via Digitalmars-d-announce
On Monday, 9 April 2018 at 11:03:48 UTC, Atila Neves wrote: Here's my blog post about my project that allows directly #including C headers in D* https://atilanevesoncode.wordpress.com/2018/04/09/include-c-headers-in-d-code/ The summary is that, modulo bugs, things like this work:

Re: #include C headers in D code

2018-04-09 Thread Cym13 via Digitalmars-d-announce
On Monday, 9 April 2018 at 11:48:51 UTC, jmh530 wrote: On Monday, 9 April 2018 at 11:03:48 UTC, Atila Neves wrote: Here's my blog post about my project that allows directly #including C headers in D* [snip] Fantastic. This is so cool, I think it should be featured on the D blog as well

Re: #include C headers in D code

2018-04-09 Thread jmh530 via Digitalmars-d-announce
On Monday, 9 April 2018 at 11:03:48 UTC, Atila Neves wrote: Here's my blog post about my project that allows directly #including C headers in D* [snip] Fantastic.

#include C headers in D code

2018-04-09 Thread Atila Neves via Digitalmars-d-announce
Here's my blog post about my project that allows directly #including C headers in D* https://atilanevesoncode.wordpress.com/2018/04/09/include-c-headers-in-d-code/ The summary is that, modulo bugs, things like this work: #include void main() { printf("Hello world\n".ptr); } So far

Re: Spanish translation of DLang Tour page

2018-04-09 Thread Chris via Digitalmars-d-announce
On Monday, 9 April 2018 at 10:17:30 UTC, Diego Lago wrote: Hello all, I would like to announce the (almost[1]) completed Spanish translation [2] of the DLang Tour page: http://tour.dlang.org/tour/es Hope this helps to spread this fantastic and awesome programming language :) Best

Spanish translation of DLang Tour page

2018-04-09 Thread Diego Lago via Digitalmars-d-announce
Hello all, I would like to announce the (almost[1]) completed Spanish translation [2] of the DLang Tour page: http://tour.dlang.org/tour/es Hope this helps to spread this fantastic and awesome programming language :) Best regards. -- Diego --- [1] Almost because "D by Example" and "DUB