Re: DDeps 1.1.1

2019-04-27 Thread Bastiaan Veelo via Digitalmars-d-announce

On Saturday, 27 April 2019 at 16:16:02 UTC, lempiji wrote:
Recently, I created a tool to create a module dependency graph 
for the D language.


The tool can compare two versions and visualize the 
differences. I think it's useful for source reviews.


Try it if you are interested.
Some screenshots are included in the README.


- DUB: http://code.dlang.org/packages/ddeps
- GitHub: https://github.com/lempiji/ddeps


Very nice! I’ll have to bookmark this.

Bastiaan.


Re: DDeps 1.1.1

2019-04-27 Thread Nicholas Wilson via Digitalmars-d-announce

On Saturday, 27 April 2019 at 16:16:02 UTC, lempiji wrote:
Recently, I created a tool to create a module dependency graph 
for the D language.


The tool can compare two versions and visualize the 
differences. I think it's useful for source reviews.


Try it if you are interested.
Some screenshots are included in the README.


- DUB: http://code.dlang.org/packages/ddeps
- GitHub: https://github.com/lempiji/ddeps


Very nice!

Does this respect versions? E.g. to separate unit tests importing 
everything else, from library code being relatively modular.


This will be useful for modularising DMD.


DDeps 1.1.1

2019-04-27 Thread lempiji via Digitalmars-d-announce
Recently, I created a tool to create a module dependency graph 
for the D language.


The tool can compare two versions and visualize the differences. 
I think it's useful for source reviews.


Try it if you are interested.
Some screenshots are included in the README.


- DUB: http://code.dlang.org/packages/ddeps
- GitHub: https://github.com/lempiji/ddeps



Re: DMD metaprogramming enhancement

2019-04-27 Thread Aliak via Digitalmars-d-announce

On Friday, 26 April 2019 at 06:29:04 UTC, Simen Kjærås wrote:

On Thursday, 25 April 2019 at 23:41:32 UTC, Suleyman wrote:

[...]


You have no idea how happy I am to hear this has been fixed! So 
many of my designs have been hamstrung by 5710, and it's been 
around since the dawn of time.


--
  Simen


Boh, there’s a revert under discussion :( - 
https://github.com/dlang/dmd/pull/9702 ( not merged yet but 路‍♂️)


Re: DStep 1.0.0

2019-04-27 Thread Jacob Carlborg via Digitalmars-d-announce

On 2019-04-26 10:33, Robert M. Münch wrote:


Are there are any functional differences between the platforms?


The short answer is yes.


Or can I just use the OSX version and use the generated .d files with the DMD
Windows version too?


The longer answer is that it depends. DStep behaves the same way as the 
compiler (Clang in this case). That means that there are different 
predefined macro constants for different platforms. For example:


#if _WIN32
#include 
DWORD foo();
#else
int foo();
#endif

If you run DStep on Windows it will output:

extern (C):

DWORD foo();

But on any other platform it will output:

extern (C):

int foo();

So it's a question if the header files contain any code like the above. 
The bindings that DStep uses for libclang are generated on macOS but are 
used unchanged on Windows and Linux as well. But these are the most 
forgiven headers that I've seen when it comes to create bindings.


--
/Jacob Carlborg


Re: DMD metaprogramming enhancement

2019-04-27 Thread Meta via Digitalmars-d-announce

On Friday, 26 April 2019 at 06:34:26 UTC, Simen Kjærås wrote:
BTW, at least two people have promised money outside 
BountySource to have 5710 fixed:

https://forum.dlang.org/post/gjzrklkxfmgjjdfor...@forum.dlang.org

--
  Simen


And my offer still stands. Suleyman, do you have an email address 
I can contact you at to arrange payment?