Re: Mono-D v0.4.9.5 - Infinite analysis fix + Mixin analysis improvement

2013-02-01 Thread Paulo Pinto
On Tuesday, 29 January 2013 at 19:35:45 UTC, Jacob Carlborg wrote: On 2013-01-29 13:26, Bruno Medeiros wrote: By default, yes, but you can do what Jacob wanted with the Show Source of Selected Element Only functionality:

Re: Mono-D v0.4.9.5 - Infinite analysis fix + Mixin analysis improvement

2013-01-31 Thread alex
On Wednesday, 30 January 2013 at 10:45:26 UTC, Jacob Carlborg wrote: On 2013-01-30 00:28, alex wrote: Okay, I've uploaded a new version that features a basically working version. There is now a separated mixin insight and expression evaluation available. There are still many things left to do

Re: Mono-D v0.4.9.5 - Infinite analysis fix + Mixin analysis improvement

2013-01-30 Thread Jacob Carlborg
On 2013-01-30 00:28, alex wrote: Okay, I've uploaded a new version that features a basically working version. There is now a separated mixin insight and expression evaluation available. There are still many things left to do though. I'll give it a try. -- /Jacob Carlborg

Re: Mono-D v0.4.9.5 - Infinite analysis fix + Mixin analysis improvement

2013-01-29 Thread Jacob Carlborg
On 2013-01-28 23:09, alex wrote: Yeah I just named it Expression evaluation - dunno why, just thought that it could be used in a more general way than 'only' for mixin insight. Should I do an extra input box where you could type in expressions and other things that could be evaluated? Just

Re: Mono-D v0.4.9.5 - Infinite analysis fix + Mixin analysis improvement

2013-01-29 Thread Jacob Carlborg
On 2013-01-29 03:14, alex wrote: On Tuesday, 29 January 2013 at 00:48:24 UTC, F i L wrote: Meaning, imagine your screen looks like: CODE | EXAMPLE RESULTS | int

Re: Mono-D v0.4.9.5 - Infinite analysis fix + Mixin analysis improvement

2013-01-29 Thread alex
On Tuesday, 29 January 2013 at 09:42:49 UTC, Timon Gehr wrote: On 01/29/2013 03:14 AM, alex wrote: On Tuesday, 29 January 2013 at 00:48:24 UTC, F i L wrote: ... http://mono-d.alexanderbothe.com/?attachment_id=817 My progress so far. Lots of internals to manage though. The execute-button isn't

Re: Mono-D v0.4.9.5 - Infinite analysis fix + Mixin analysis improvement

2013-01-29 Thread alex
On Tuesday, 29 January 2013 at 08:02:27 UTC, Jacob Carlborg wrote: ... Yeah, that was s cool. I also liked the code bubbles. Instead of having a file as the minimum abstraction unit in the IDE/editor it was a function/class/method. Which can be done in Eclipse by just selecting e.g. a

Re: Mono-D v0.4.9.5 - Infinite analysis fix + Mixin analysis improvement

2013-01-29 Thread Jacob Carlborg
On 2013-01-29 11:52, alex wrote: Which can be done in Eclipse by just selecting e.g. a method or class in the outline - iirc it'll just show the definition of the selected node then, nothing else. If I select an item in the outline view it will just scroll the editor view to where that item

Re: Mono-D v0.4.9.5 - Infinite analysis fix + Mixin analysis improvement

2013-01-29 Thread Bruno Medeiros
On 29/01/2013 10:52, alex wrote: On Tuesday, 29 January 2013 at 08:02:27 UTC, Jacob Carlborg wrote: ... Yeah, that was s cool. I also liked the code bubbles. Instead of having a file as the minimum abstraction unit in the IDE/editor it was a function/class/method. Which can be done in

Re: Mono-D v0.4.9.5 - Infinite analysis fix + Mixin analysis improvement

2013-01-29 Thread Jacob Carlborg
On 2013-01-29 13:26, Bruno Medeiros wrote: By default, yes, but you can do what Jacob wanted with the Show Source of Selected Element Only functionality: http://help.eclipse.org/juno/index.jsp?topic=/org.eclipse.jdt.doc.user/reference/views/ref-java-editor.htm That's somewhat similar to what

Re: Mono-D v0.4.9.5 - Infinite analysis fix + Mixin analysis improvement

2013-01-28 Thread alex
On Sunday, 27 January 2013 at 15:24:23 UTC, Jacob Carlborg wrote: On 2013-01-27 13:35, alex wrote: Well, not displaying the entire module but only displaying resolved expressions. Dunno how to do this in a proper way - only via tooltips or also in an extra panel? Which would be the most

Re: Mono-D v0.4.9.5 - Infinite analysis fix + Mixin analysis improvement

2013-01-28 Thread alex
On Sunday, 27 January 2013 at 23:14:23 UTC, F i L wrote: alex wrote: Morning D folks, Implemented some new features concerning pre-compile time mixin analysis and expression evaluation: ... The new update seems very fast and stable. Trying the new features, Thanks! And if not, you know

Re: Mono-D v0.4.9.5 - Infinite analysis fix + Mixin analysis improvement

2013-01-28 Thread Jacob Carlborg
On 2013-01-28 13:32, alex wrote: K..Created an extra panel, and the actual mixin evaluation is working, too. But now there are some last adjustments required to have the entire mechanism as few annoying and performance-reducing as possible. Cool, I guess it's time to give Mono-D another try.

Re: Mono-D v0.4.9.5 - Infinite analysis fix + Mixin analysis improvement

2013-01-28 Thread alex
On Monday, 28 January 2013 at 20:20:42 UTC, Jacob Carlborg wrote: On 2013-01-28 13:32, alex wrote: K..Created an extra panel, and the actual mixin evaluation is working, too. But now there are some last adjustments required to have the entire mechanism as few annoying and

Re: Mono-D v0.4.9.5 - Infinite analysis fix + Mixin analysis improvement

2013-01-28 Thread F i L
alex wrote: http://i.imgur.com/3i5R4Mn.png?1 A first shot - I guess in cases of having template parameters, stuff should get 'expanded' to the final type, right? Well then I still have to work on it. Anyway it also works for template mixins and mixin statements. You just move the caret into

Re: Mono-D v0.4.9.5 - Infinite analysis fix + Mixin analysis improvement

2013-01-28 Thread alex
On Monday, 28 January 2013 at 21:14:07 UTC, F i L wrote: alex wrote: http://i.imgur.com/3i5R4Mn.png?1 A first shot - I guess in cases of having template parameters, stuff should get 'expanded' to the final type, right? Well then I still have to work on it. Anyway it also works for template

Re: Mono-D v0.4.9.5 - Infinite analysis fix + Mixin analysis improvement

2013-01-28 Thread F i L
alex wrote: Yeah I just named it Expression evaluation - dunno why, just thought that it could be used in a more general way than 'only' for mixin insight. Should I do an extra input box where you could type in expressions and other things that could be evaluated? Just thinking of a

Re: Mono-D v0.4.9.5 - Infinite analysis fix + Mixin analysis improvement

2013-01-28 Thread F i L
alex wrote: ... Oh, ps. On a completely unrelated note, Just wanted to say that the new Active Profiler display is completely awesome. Thanks!

Re: Mono-D v0.4.9.5 - Infinite analysis fix + Mixin analysis improvement

2013-01-28 Thread alex
On Tuesday, 29 January 2013 at 00:48:24 UTC, F i L wrote: ... That sounds very useful. It would be awesome if you could evaluate the returned value of functions that already exist in your program, or (like your picture shows) write simple test functions to evaluate. Of course not all

Mono-D v0.4.9.5 - Infinite analysis fix + Mixin analysis improvement

2013-01-27 Thread alex
Morning D folks, Implemented some new features concerning pre-compile time mixin analysis and expression evaluation: http://mono-d.alexanderbothe.com/?p=814 (Screenshot included) I'd furthermore suggest that the prospective generational GC (not the current one, I mean the fictional that

Re: Mono-D v0.4.9.5 - Infinite analysis fix + Mixin analysis improvement

2013-01-27 Thread Dicebot
Gets better and better! Makes me wonder though: if this works, may be it is possible to provide a context helper with mixin resulting code if all it parameters are already defined? Similar to C macro expansion helper in Eclipse.

Re: Mono-D v0.4.9.5 - Infinite analysis fix + Mixin analysis improvement

2013-01-27 Thread alex
On Sunday, 27 January 2013 at 11:31:58 UTC, Dicebot wrote: Gets better and better! Makes me wonder though: if this works, may be it is possible to provide a context helper with mixin resulting code if all it parameters are already defined? Similar to C macro expansion helper in Eclipse. So

Re: Mono-D v0.4.9.5 - Infinite analysis fix + Mixin analysis improvement

2013-01-27 Thread Jacob Carlborg
On 2013-01-27 12:27, alex wrote: Morning D folks, Implemented some new features concerning pre-compile time mixin analysis and expression evaluation: http://mono-d.alexanderbothe.com/?p=814 (Screenshot included) Nice. I'm not sure if this is what Dicebot suggested but would it be possible

Re: Mono-D v0.4.9.5 - Infinite analysis fix + Mixin analysis improvement

2013-01-27 Thread Dicebot
On Sunday, 27 January 2013 at 12:05:28 UTC, alex wrote: On Sunday, 27 January 2013 at 11:31:58 UTC, Dicebot wrote: Gets better and better! Makes me wonder though: if this works, may be it is possible to provide a context helper with mixin resulting code if all it parameters are already

Re: Mono-D v0.4.9.5 - Infinite analysis fix + Mixin analysis improvement

2013-01-27 Thread Jacob Carlborg
On 2013-01-27 13:35, alex wrote: Well, not displaying the entire module but only displaying resolved expressions. Dunno how to do this in a proper way - only via tooltips or also in an extra panel? Which would be the most useful? If it cannot show the entire module then I think a tooltip

Re: Mono-D v0.4.9.5 - Infinite analysis fix + Mixin analysis improvement

2013-01-27 Thread F i L
alex wrote: Morning D folks, Implemented some new features concerning pre-compile time mixin analysis and expression evaluation: ... The new update seems very fast and stable. Trying the new features, Thanks!