Re: DLP identify leaf functions

2018-12-11 Thread welkam via Digitalmars-d-announce
On Tuesday, 4 December 2018 at 11:02:11 UTC, Jacob Carlborg wrote: On 2018-12-02 17:57, welkam wrote: What a timing. I am working on (slowly) on a tool that would get all struct and class declarations and for each of them get functions in which they are used. Then combine them with profiling

Re: DLP identify leaf functions

2018-12-04 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-12-02 17:57, welkam wrote: What a timing. I am working on (slowly) on a tool that would get all struct and class declarations and for each of them get functions in which they are used. Then combine them with profiling data to find data structures that are hot and how changing them

Re: DLP identify leaf functions

2018-12-02 Thread welkam via Digitalmars-d-announce
On Friday, 30 November 2018 at 20:10:05 UTC, Jacob Carlborg wrote: I would like to announce a new project I've started, called DLP (D Language Processing). Currently it's quite experimental but the idea is that it would contain a collection of commands for inspecting D code in various ways. It

Re: DLP identify leaf functions

2018-12-02 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-12-01 13:31, Anonymouse wrote: Looks interesting. My project requires a bunch of version identifiers to actually compile. Is there a way to pass these, or ideally a way to make it parse them from dub.{json,sdl}? No, there's currently no way. The next step would be to allow to pass

Re: DLP identify leaf functions

2018-12-01 Thread Anonymouse via Digitalmars-d-announce
On Friday, 30 November 2018 at 20:10:05 UTC, Jacob Carlborg wrote: I would like to announce a new project I've started, called DLP (D Language Processing). Currently it's quite experimental but the idea is that it would contain a collection of commands for inspecting D code in various ways. It

Re: DLP identify leaf functions

2018-12-01 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-12-01 11:13, Sebastiaan Koppe wrote: Really nice! I have some ideas about data-flow analysis and this allows some easy experimenting without forking the compiler. Thanks. I've been thinking the same about experimenting with the compiler. -- /Jacob Carlborg

Re: DLP identify leaf functions

2018-12-01 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Friday, 30 November 2018 at 20:10:05 UTC, Jacob Carlborg wrote: I would like to announce a new project I've started, called DLP (D Language Processing). Currently it's quite experimental but the idea is that it would contain a collection of commands for inspecting D code in various ways. It

Re: DLP identify leaf functions

2018-11-30 Thread 12345swordy via Digitalmars-d-announce
On Friday, 30 November 2018 at 20:10:05 UTC, Jacob Carlborg wrote: I would like to announce a new project I've started, called DLP (D Language Processing). Currently it's quite experimental but the idea is that it would contain a collection of commands for inspecting D code in various ways. It

DLP identify leaf functions

2018-11-30 Thread Jacob Carlborg via Digitalmars-d-announce
I would like to announce a new project I've started, called DLP (D Language Processing). Currently it's quite experimental but the idea is that it would contain a collection of commands for inspecting D code in various ways. It uses the DMD frontend as a library (the Dub package) to process D