Intellij D Language plugin v1.28.0

2022-06-06 Thread singingbush via Digitalmars-d-announce
For anyone that likes to use Intellij, the latest release of the D Language plugin has now been published to the Jetbrains plugin repository: https://plugins.jetbrains.com/plugin/8115 I'd like to thank Etienne Brateau for contributing numerous bug fixes in this release. For a list of

Re: D Language Foundation May 2022 Monthly Meeting Summary

2022-06-06 Thread Guillaume Piolat via Digitalmars-d-announce
On Monday, 6 June 2022 at 08:44:32 UTC, Mike Parker wrote: ## The next meeting Our next monthly meeting is scheduled for Friday, June 10, at 14:00 UTC. The vision document is the main item on the agenda, and I expect it to take up most of the oxygen. We'll review the current draft and decide

Re: Adding Modules to C in 10 Lines of Code

2022-06-06 Thread Ola Fosheim Grøstad via Digitalmars-d-announce
On Monday, 6 June 2022 at 11:23:44 UTC, Daniel N wrote: So Object-C can import C, but *C* cannot import *C*. Objective-C is a proper superset of C AFAIK.

Re: Adding Modules to C in 10 Lines of Code

2022-06-06 Thread Dom Disc via Digitalmars-d-announce
On Monday, 6 June 2022 at 03:17:34 UTC, forkit wrote: cannot have encapsulation unless it is put into a super type (the module), all by its self (with no friends). It can have friends - they just need to be in the same file (module). And a class without its friend is really only half a type -

Re: Adding Modules to C in 10 Lines of Code

2022-06-06 Thread Daniel N via Digitalmars-d-announce
On Monday, 6 June 2022 at 05:49:55 UTC, Paulo Pinto wrote: On Sunday, 5 June 2022 at 22:41:14 UTC, Walter Bright wrote: On 6/4/2022 10:54 PM, Paulo Pinto wrote: That paper had a real implementation to follow along, I didn't see it. while Lucid and IBM products were real things one could

Re: Adding Modules to C in 10 Lines of Code

2022-06-06 Thread Ola Fosheim Grøstad via Digitalmars-d-announce
On Monday, 6 June 2022 at 11:02:32 UTC, Ola Fosheim Grøstad wrote: Yes, Objective-C has added modules to C since forever… Just rename your .c file to .m I guess that would be the first. Or maybe not… you still use .h, so it depends on the implementation. Pointless discussion really.

Re: Adding Modules to C in 10 Lines of Code

2022-06-06 Thread Ola Fosheim Grøstad via Digitalmars-d-announce
On Monday, 6 June 2022 at 05:49:55 UTC, Paulo Pinto wrote: https://clang.llvm.org/docs/Modules.html And I am out of this thread. Yes, Objective-C has added modules to C since forever… Just rename your .c file to .m I guess that would be the first.

Re: Adding Modules to C in 10 Lines of Code

2022-06-06 Thread Ola Fosheim Grøstad via Digitalmars-d-announce
On Monday, 6 June 2022 at 01:05:38 UTC, zjh wrote: On Monday, 6 June 2022 at 00:19:16 UTC, zjh wrote: Because it's fun to be first! Yes, `'d'` is always independent. [C++'s moudle](https://www.oschina.net/news/198583/c-plus-plus-23-to-introduce-module-support) `D`, hurry up and get

Re: D Language Foundation May 2022 Monthly Meeting Summary

2022-06-06 Thread max haughton via Digitalmars-d-announce
On Monday, 6 June 2022 at 08:44:32 UTC, Mike Parker wrote: The monthly meeting for May 2022, took place on May 6th at 14:00 UTC. The meeting lasted a little under an hour. The following people attended: [...] Note that Razvan's PR fixes the issue with synchronized by turning the check off

D Language Foundation May 2022 Monthly Meeting Summary

2022-06-06 Thread Mike Parker via Digitalmars-d-announce
The monthly meeting for May 2022, took place on May 6th at 14:00 UTC. The meeting lasted a little under an hour. The following people attended: * Walter Bright * Iain Buclaw * Ali Çehreli * Max Haughton * Martin Kinkelin * Mathias Lang * Razvan Nitu * Mike Parker ## Iain Iain gave us an

Re: Adding Modules to C in 10 Lines of Code

2022-06-06 Thread claptrap via Digitalmars-d-announce
On Monday, 6 June 2022 at 03:17:34 UTC, forkit wrote: On Monday, 6 June 2022 at 00:19:16 UTC, zjh wrote: On Sunday, 5 June 2022 at 22:41:41 UTC, Walter Bright wrote: But yes, as far as i know, D is the first to do this - i.e. turn the class into a pseudo type, that cannot have encapsulation

Re: Adding Modules to C in 10 Lines of Code

2022-06-06 Thread zjh via Digitalmars-d-announce
On Monday, 6 June 2022 at 05:01:27 UTC, forkit wrote: The addidtion of a little character, @, to word private, could change this: @private // Compiler says: oh. so you really want private to mean private? ok. I'll do it for you. no problem. You need a `DIP`.

Re: Adding Modules to C in 10 Lines of Code

2022-06-06 Thread forkit via Digitalmars-d-announce
On Monday, 6 June 2022 at 05:48:14 UTC, Ali Çehreli wrote: Now, that is trolling. Ali juvenalian satire, perhaps. I'd accept that. But trolling? Really?

Re: Adding Modules to C in 10 Lines of Code

2022-06-06 Thread forkit via Digitalmars-d-announce
On Monday, 6 June 2022 at 05:48:14 UTC, Ali Çehreli wrote: Now, that is trolling. Ali Well, I could argue, correctly, that trolling is when someone picks only part of your argument, and uses only that part to support their own agenda - which is to destroy your argument by making it out to