Re: Descent 0.5.4 released

2009-03-24 Thread Saaa
> I could list everything here, but I think it would be easiest to just > download Poseidon. Poseidon doesn't need to install.. The keywords are listed and selectable in Tools>Options>Editor>D styles>Key Words

Re: Descent 0.5.4 released

2009-03-24 Thread Trass3r
Jarrett Billingsley schrieb: The worst offender, by far, is the D highlighter for Kate. It has 24 separate styles for various syntactico-semantic elements, all of which have different colors by default. It looks like a rainbow vomited. It's just so distracting :P Yeah, but poseidon's style is

Re: Descent 0.5.4 released

2009-03-23 Thread Saaa
"Ary Borenszweig" wrote in message news:gq9b51$bt...@digitalmars.com... > Saaa escribió: >>> Poseidon has 7 (custom) groups of keywords which have different colours. >>> eg. import=orange, static=green, void=blue, this=purple >>> To me it makes source much easier to navigate. >>> >> Not possible

Re: Descent 0.5.4 released

2009-03-23 Thread Jarrett Billingsley
On Mon, Mar 23, 2009 at 9:00 PM, Ary Borenszweig wrote: > Jarrett Billingsley escribió: >> >> On Sat, Mar 21, 2009 at 7:23 PM, Saaa wrote: >>> >>> Poseidon has 7 (custom) groups of keywords which have different colours. >>> eg. import=orange, static=green, void=blue, this=purple >>> To me it make

Re: Descent 0.5.4 released

2009-03-23 Thread Ary Borenszweig
Jarrett Billingsley escribió: On Sat, Mar 21, 2009 at 7:23 PM, Saaa wrote: Poseidon has 7 (custom) groups of keywords which have different colours. eg. import=orange, static=green, void=blue, this=purple To me it makes source much easier to navigate. Honestly I don't know how people can cope

Re: Descent 0.5.4 released

2009-03-23 Thread Christopher Wright
Jarrett Billingsley wrote: On Sat, Mar 21, 2009 at 7:23 PM, Saaa wrote: Poseidon has 7 (custom) groups of keywords which have different colours. eg. import=orange, static=green, void=blue, this=purple To me it makes source much easier to navigate. Honestly I don't know how people can cope wit

Re: Descent 0.5.4 released

2009-03-23 Thread Ary Borenszweig
Saaa escribió: Poseidon has 7 (custom) groups of keywords which have different colours. eg. import=orange, static=green, void=blue, this=purple To me it makes source much easier to navigate. Not possible...? But.. but.. my code looks soo boring now :( :) It's possible, yes. But I think the c

Re: Descent 0.5.4 released

2009-03-23 Thread Jarrett Billingsley
On Sat, Mar 21, 2009 at 7:23 PM, Saaa wrote: > > Poseidon has 7 (custom) groups of keywords which have different colours. > eg. import=orange, static=green, void=blue, this=purple > To me it makes source much easier to navigate. Honestly I don't know how people can cope with that.. if you use 30

Re: Descent 0.5.4 released

2009-03-23 Thread Saaa
> Poseidon has 7 (custom) groups of keywords which have different colours. > eg. import=orange, static=green, void=blue, this=purple > To me it makes source much easier to navigate. > Not possible...? But.. but.. my code looks soo boring now :( :)

Re: Descent 0.5.4 released

2009-03-21 Thread Saaa
>> Had a few problems with descent and PATH. Maybe it was something else but >> could it maybe be that you need to logout for eclipse to see changes in >> the PATH? > > Yes, probably. I'm not sure. I mean log out of XP. Because normally you only need to restart the program. A well, it works now

Re: Descent 0.5.4 released

2009-03-21 Thread Ary Borenszweig
Saaa escribió: Started my descent quest.. Mostly because I wanted the : Highlighting of all occurrences of the current token under the cursor. Also just to look what else might be interesting. Had a few problems with descent and PATH. Maybe it was something else but could it maybe be that you

Re: Descent 0.5.4 released

2009-03-21 Thread Saaa
Started my descent quest.. Mostly because I wanted the : Highlighting of all occurrences of the current token under the cursor. Also just to look what else might be interesting. Had a few problems with descent and PATH. Maybe it was something else but could it maybe be that you need to logout fo

Re: Descent 0.5.4 released

2009-03-10 Thread Trass3r
The compile-time view doesn't seem to use UTF, does it? const LOC_MAIN_MENU_FILE_OPEN = "&Öffnen"; // (input file encoding is UTF-8) becomes const char[8] LOC_MAIN_MENU_FILE_OPEN = "&֖ffnen"; in the view.

Re: Descent 0.5.4 released

2009-02-09 Thread Ary Borenszweig
Ary Borenszweig escribió: The Descent plugin for Eclipse provides an IDE for writing, launching and debugging code in D. Explanations on how to get it from within Eclipse are here: http://www.dsource.org/projects/descent Hi, I just uploaded a new version with some semantic fixes (0.5.4.2009

Re: Descent 0.5.4 released

2009-02-01 Thread BCS
Hello Ary, BCS escribió: For me an the other 0.25 shlups out there that are trying to run descent without an internet connection, is there a zipfile download for 0.5.4? Here's a temporary one: http://downloads.dsource.org/projects/descent/descent_0.5.4.20090131.z ip But... you'll need an i

Re: Descent 0.5.4 released

2009-02-01 Thread BCS
Hello Frits, Perhaps the computer he's running Eclipse on doesn't have an internet connection? This way he can download it onto (e.g.) an USB stick and install from there. you got it

Re: Descent 0.5.4 released

2009-02-01 Thread Frits van Bommel
Ary Borenszweig wrote: BCS escribió: For me an the other 0.25 shlups out there that are trying to run descent without an internet connection, is there a zipfile download for 0.5.4? Here's a temporary one: http://downloads.dsource.org/projects/descent/descent_0.5.4.20090131.zip But... you'll

Re: Descent 0.5.4 released

2009-02-01 Thread Ary Borenszweig
BCS escribió: For me an the other 0.25 shlups out there that are trying to run descent without an internet connection, is there a zipfile download for 0.5.4? Here's a temporary one: http://downloads.dsource.org/projects/descent/descent_0.5.4.20090131.zip But... you'll need an internet connect

Re: Descent 0.5.4 released

2009-01-31 Thread BCS
For me an the other 0.25 shlups out there that are trying to run descent without an internet connection, is there a zipfile download for 0.5.4?

Re: Descent 0.5.4 released

2009-01-30 Thread Jacob Carlborg
Ary Borenszweig wrote: Jacob Carlborg escribió: I just updated descent and got this error: java.lang.UnsupportedClassVersionError: Bad version number in .class file Can you try updating now? It works now, and Ctrl+click for go to definition also works :) thanks. You're doing a great job.

Re: Descent 0.5.4 released

2009-01-30 Thread Ary Borenszweig
Robert Fraser escribió: Jason House wrote: I have no great example handy, but I tried doing the equivalent of this example (dmd 2.022): import std.algorithm; void main(){ auto x = sort!("aSadly, nothing happens with the ctrl+shift+hover trick. The compile time view reports it as missing.

Re: Descent 0.5.4 released

2009-01-29 Thread Robert Fraser
Jason House wrote: I have no great example handy, but I tried doing the equivalent of this example (dmd 2.022): import std.algorithm; void main(){ auto x = sort!("a I think D2 support is weak in Descent; so that's likely the problem.

Re: Descent 0.5.4 released

2009-01-29 Thread Jason House
Ary Borenszweig wrote: >>> Is that what you mean? >> >> >> No :( >> Templates are designed to do compile-time magic based on their input >> arguments. Currently, I can't see that magic in the compile-time view. >> The templates I looked at were still template foo(T) instead of somehow >> showing

Re: Descent 0.5.4 released

2009-01-29 Thread Ary Borenszweig
Jacob Carlborg escribió: I just updated descent and got this error: java.lang.UnsupportedClassVersionError: Bad version number in .class file Can you try updating now?

Re: Descent 0.5.4 released

2009-01-29 Thread Jacob Carlborg
I just updated descent and got this error: java.lang.UnsupportedClassVersionError: Bad version number in .class file

Re: Descent 0.5.4 released

2009-01-29 Thread Ary Borenszweig
Jason House escribió: Ary Borenszweig Wrote: Jason House escribió: 2. Actual template instances are not shown. What do you mean? I just tried: --- class Foo(T) { } void lala() { Foo!(int) foo; } --- and it was shown like: --- class Foo(T) { } void lala() {

Re: Descent 0.5.4 released

2009-01-29 Thread Jason House
Ary Borenszweig Wrote: > Jason House escribió: > > Ary Borenszweig wrote: > > > >> New features: > >> - Compile-time view > > > > This is a great feature that I've been looking forward to. > > When playing around with this, I noticed a few things that seemed odd to > > me. They may be normal

Re: Descent 0.5.4 released

2009-01-29 Thread Don
Ary Borenszweig wrote: The Descent plugin for Eclipse provides an IDE for writing, launching and debugging code in D. Explanations on how to get it from within Eclipse are here: http://www.dsource.org/projects/descent New features: - Compile-time view (Window -> Show View -> Other -> D -> Co

Re: Descent 0.5.4 released

2009-01-29 Thread Extrawurst
Ary Borenszweig wrote: Extrawurst wrote: Extrawurst wrote: Ary Borenszweig wrote: The Descent plugin for Eclipse provides an IDE for writing, launching and debugging code in D. Explanations on how to get it from within Eclipse are here: http://www.dsource.org/projects/descent New features:

Re: Descent 0.5.4 released

2009-01-29 Thread Ary Borenszweig
Extrawurst wrote: Extrawurst wrote: Ary Borenszweig wrote: The Descent plugin for Eclipse provides an IDE for writing, launching and debugging code in D. Explanations on how to get it from within Eclipse are here: http://www.dsource.org/projects/descent New features: - Compile-time view (W

Re: Descent 0.5.4 released

2009-01-29 Thread Extrawurst
Extrawurst wrote: Ary Borenszweig wrote: The Descent plugin for Eclipse provides an IDE for writing, launching and debugging code in D. Explanations on how to get it from within Eclipse are here: http://www.dsource.org/projects/descent New features: - Compile-time view (Window -> Show View

Re: Descent 0.5.4 released

2009-01-29 Thread Extrawurst
Ary Borenszweig wrote: The Descent plugin for Eclipse provides an IDE for writing, launching and debugging code in D. Explanations on how to get it from within Eclipse are here: http://www.dsource.org/projects/descent New features: - Compile-time view (Window -> Show View -> Other -> D -> Co

Re: Descent 0.5.4 released

2009-01-28 Thread Ary Borenszweig
Jason House escribió: Ary Borenszweig wrote: New features: - Compile-time view This is a great feature that I've been looking forward to. When playing around with this, I noticed a few things that seemed odd to me. They may be normal/expected if I understood the better how the front end/

Re: Descent 0.5.4 released

2009-01-28 Thread Jarrett Billingsley
On Wed, Jan 28, 2009 at 11:37 PM, Jason House wrote: > 1. derr.writefln("foo") is translated as 1("foo") Haw haw, that's because the DMDFE replaces symbols it doesn't know with 1. That's why the compiler spits out tons of bizarre "expected function before parens, not '1' of type 'int'" after und

Re: Descent 0.5.4 released

2009-01-28 Thread Jason House
Ary Borenszweig wrote: > New features: > - Compile-time view This is a great feature that I've been looking forward to. When playing around with this, I noticed a few things that seemed odd to me. They may be normal/expected if I understood the better how the front end/descent works. 1. derr

Re: Descent 0.5.4 released

2009-01-28 Thread John Reimer
Thanks for the updates and fixes, Ary. This is seriously good stuff! I'll use dwt source to stress-test it again. :) -JJR

Re: Descent 0.5.4 released

2009-01-28 Thread Daniel Keep
Ary Borenszweig wrote: > [snip] > > Done! > > Just update to the newer version (0.5.4.20090128). > > (Yeah, it bothered me too. Now it always maintains the scroll, unless > you switch to editing another module) Magically delicious updates while-you-sleep! -- Daniel

Re: Descent 0.5.4 released

2009-01-28 Thread Ary Borenszweig
Daniel Keep wrote: Ary Borenszweig wrote: [snip] Wow! Thanks for the joyful answer, Daniel. :-) The attachment you sent doesn't compile, it gives a syntax error in the mixed content for the IsExpression (only a type is allowed, not "this."). Anyway, I'll change the "!descent.core.dom.compilat

Re: Descent 0.5.4 released

2009-01-28 Thread Olli Aalto
Daniel Keep wrote: I've never been big on IDEs; I never felt that they had enough advantages over a plain text editor to make up for the slowness and restrictions. I code in java for a living, and wouldn't change eclipse as my editor for anything. But that's just me. :) But this is just s

Re: Descent 0.5.4 released

2009-01-28 Thread Daniel Keep
Ary Borenszweig wrote: > [snip] > > Wow! Thanks for the joyful answer, Daniel. :-) > > The attachment you sent doesn't compile, it gives a syntax error in the > mixed content for the IsExpression (only a type is allowed, not > "this."). Anyway, I'll change the > "!descent.core.dom.compilationu.

Re: Descent 0.5.4 released

2009-01-28 Thread Don
Ary Borenszweig wrote: Brad Roberts escribió: Brad Roberts wrote: Ary Borenszweig wrote: Bill Baxter escribió: Another question -- I was wondering what it does for CTFE functions. I'm guessing it evaluates them and spits out the result. If so that could be very very helpful. Especially for

Re: Descent 0.5.4 released

2009-01-28 Thread Qian Xu
Ary Borenszweig wrote: > The Descent plugin for Eclipse provides an IDE for writing, launching > and debugging code in D. This build is not compatible with Eclipse3.3 und SuseEnt10(SP2) as well. When I press CTRL+Space, I will see an error message: ---

Re: Descent 0.5.4 released

2009-01-28 Thread Ary Borenszweig
Ary Borenszweig escribió: The Descent plugin for Eclipse provides an IDE for writing, launching and debugging code in D. Explanations on how to get it from within Eclipse are here: http://www.dsource.org/projects/descent New features: - Compile-time view (Window -> Show View -> Other -> D ->

Re: Descent 0.5.4 released

2009-01-28 Thread Ary Borenszweig
Brad Roberts escribió: Brad Roberts wrote: Ary Borenszweig wrote: Bill Baxter escribió: Another question -- I was wondering what it does for CTFE functions. I'm guessing it evaluates them and spits out the result. If so that could be very very helpful. Especially for code-building CTFE mixin

Re: Descent 0.5.4 released

2009-01-27 Thread Vladimir Panteleev
On Tue, 27 Jan 2009 21:19:36 +0200, Ary Borenszweig wrote: Where can I find a version of obj2asm for Windows to see what's going on in those cases? Try the free version of IDA (Interactive DisAssembler) instead: http://www.hex-rays.com/idapro/idadownfreeware.htm -- Best regards, Vladimir

Re: Descent 0.5.4 released

2009-01-27 Thread Brad Roberts
Brad Roberts wrote: > Ary Borenszweig wrote: >> Bill Baxter escribió: >>> Another question -- I was wondering what it does for CTFE functions. >>> I'm guessing it evaluates them and spits out the result. If so that >>> could be very very helpful. Especially for code-building CTFE mixins. >>> I d

Re: Descent 0.5.4 released

2009-01-27 Thread Brad Roberts
Ary Borenszweig wrote: > Bill Baxter escribió: >> Another question -- I was wondering what it does for CTFE functions. >> I'm guessing it evaluates them and spits out the result. If so that >> could be very very helpful. Especially for code-building CTFE mixins. >> I don't think you had an examp

Re: Descent 0.5.4 released

2009-01-27 Thread Bill Baxter
On Wed, Jan 28, 2009 at 10:33 AM, Ary Borenszweig wrote: > Bill Baxter escribió: >> >> On Wed, Jan 28, 2009 at 12:46 AM, Ary Borenszweig >> wrote: >>> >>> Ary Borenszweig wrote: >>> >>> Here's the video! >>> >>> http://www.youtube.com/watch?v=oAhrFQVnsrY >>> >>> :-) >>> >> >> By the way, in the v

Re: Descent 0.5.4 released

2009-01-27 Thread Ary Borenszweig
Bill Baxter escribió: On Wed, Jan 28, 2009 at 12:46 AM, Ary Borenszweig wrote: Ary Borenszweig wrote: Here's the video! http://www.youtube.com/watch?v=oAhrFQVnsrY :-) By the way, in the vid you use a plain int param in your opApply delegate, instead of "ref int". I think this will not wo

Re: Descent 0.5.4 released

2009-01-27 Thread Robert Fraser
Ary Borenszweig wrote: --- int foo(int x) { return x * 2 * 2; } int bar(int x) { return 2 * 2 * x; } --- is transformed to this: --- int foo(int x) { return x * 2 * 2; } int bar(int x) { return 4 * x; } --- Those should be shifts.

Re: Descent 0.5.4 released

2009-01-27 Thread Bill Baxter
On Wed, Jan 28, 2009 at 12:46 AM, Ary Borenszweig wrote: > Ary Borenszweig wrote: > > Here's the video! > > http://www.youtube.com/watch?v=oAhrFQVnsrY > > :-) > By the way, in the vid you use a plain int param in your opApply delegate, instead of "ref int". I think this will not work. At least

Re: Descent 0.5.4 released

2009-01-27 Thread Trass3r
The code is compatible to both. Currently trying with D1. The function becomes this: public static char[] mixinLuaRegisterFunction(char[] lua_state, char[] name, char[] lua_library_dot_name) { return ("mixin (mixinLuaRegisterFunctionAtLine (\"" ~ lua_state ~ "\", \"" ~ name ~ "

Re: Descent 0.5.4 released

2009-01-27 Thread Saaa
> Which ones are the -O ones? Erm, the ones I invoke with -O :) I thought they were seperate from the semantic pass van Bommel mentioned > You can see which optimizations are applied in the front end in optimize.c Thanks! > > For example this: > > --- > int foo(int x) { > return x * 2 * 2; > }

Re: Descent 0.5.4 released

2009-01-27 Thread Ary Borenszweig
Saaa wrote: Which kind of optimizations are located in the front-end? Not the -O ones, right? Which ones are the -O ones? You can see which optimizations are applied in the front end in optimize.c For example this: --- int foo(int x) { return x * 2 * 2; } int bar(int x) { return 2 * 2

Re: Descent 0.5.4 released

2009-01-27 Thread Saaa
Which kind of optimizations are located in the front-end? Not the -O ones, right? > Saaa wrote: >> How do you generate the compile-time view? > > Since Descent has a Java port of the DMD frontend inside, it probably just > runs the semantics passes on the AST and prints it back out...

Re: Descent 0.5.4 released

2009-01-27 Thread Yigal Chripun
Daniel Keep wrote: [snip] I've never been big on IDEs; I never felt that they had enough advantages over a plain text editor to make up for the slowness and restrictions. But this is just so freaking awesome, I'm seriously considering moving over to Descent for my D development. It's just a pi

Re: Descent 0.5.4 released

2009-01-27 Thread Ary Borenszweig
Jarrett Billingsley wrote: On Tue, Jan 27, 2009 at 10:46 AM, Ary Borenszweig wrote: Here's the video! http://www.youtube.com/watch?v=oAhrFQVnsrY I kind of just exploded a little watching that. Some of my brain is coming out. loool!! And here's the winner phrase for my MSN status of the d

Re: Descent 0.5.4 released

2009-01-27 Thread BCS
Reply to Ary, Ary Borenszweig wrote: The Descent plugin for Eclipse provides an IDE for writing, launching and debugging code in D. Explanations on how to get it from within Eclipse are here: http://www.dsource.org/projects/descent New features: - Compile-time view (Window -> Show View -> O

Re: Descent 0.5.4 released

2009-01-27 Thread Bill Baxter
On Wed, Jan 28, 2009 at 12:46 AM, Ary Borenszweig wrote: > > Here's the video! > > http://www.youtube.com/watch?v=oAhrFQVnsrY > > :-) > The compile-time view looks quite useful! I also really like the autocomplete code snippet for the opApply. I always dread having to write those. --bb

Re: Descent 0.5.4 released

2009-01-27 Thread Frits van Bommel
Saaa wrote: How do you generate the compile-time view? Since Descent has a Java port of the DMD frontend inside, it probably just runs the semantics passes on the AST and prints it back out...

Re: Descent 0.5.4 released

2009-01-27 Thread Saaa
Wow nice! How do you generate the compile-time view?

Re: Descent 0.5.4 released

2009-01-27 Thread Ary Borenszweig
Trass3r wrote: Getting the results of a mixin doesn't seem to work if a function is used: mixin (mixinLuaRegisterFunction ("L", "simpleFunction", "mylib.func")); public static istring mixinLuaPushFunction (cstring lua_state, cstring name) { return cast(istring) (`mixin (mixinLuaPushFuncti

Re: Descent 0.5.4 released

2009-01-27 Thread Trass3r
Getting the results of a mixin doesn't seem to work if a function is used: mixin (mixinLuaRegisterFunction ("L", "simpleFunction", "mylib.func")); public static istring mixinLuaPushFunction (cstring lua_state, cstring name) { return cast(istring) (`mixin (mixinLuaPushFunctionAtLine ("` ~ lu

Re: Descent 0.5.4 released

2009-01-27 Thread Ary Borenszweig
Daniel Keep wrote: Ary Borenszweig wrote: New features: - Compile-time view (Window -> Show View -> Other -> D -> Compile-time View): allows you to see things from the compiler point of view, which applies some transformations to the source code. For example you can see what happens when you d

Re: Descent 0.5.4 released

2009-01-27 Thread Jarrett Billingsley
On Tue, Jan 27, 2009 at 12:05 PM, Jarrett Billingsley wrote: > On Tue, Jan 27, 2009 at 10:46 AM, Ary Borenszweig > wrote: >> Here's the video! >> >> http://www.youtube.com/watch?v=oAhrFQVnsrY > > I kind of just exploded a little watching that. Some of my brain is coming > out. > In a good way

Re: Descent 0.5.4 released

2009-01-27 Thread Jarrett Billingsley
On Tue, Jan 27, 2009 at 10:46 AM, Ary Borenszweig wrote: > Here's the video! > > http://www.youtube.com/watch?v=oAhrFQVnsrY I kind of just exploded a little watching that. Some of my brain is coming out.

Re: Descent 0.5.4 released

2009-01-27 Thread Lutger
How wonderful, thank you VERY much! OT: I've found eclipse 3.4.x under 64-bit linux less than stable with descent, but the 3.5 stream release works pretty good so far.

Re: Descent 0.5.4 released

2009-01-27 Thread Daniel Keep
Ary Borenszweig wrote: > New features: > - Compile-time view (Window -> Show View -> Other -> D -> Compile-time > View): allows you to see things from the compiler point of view, which > applies some transformations to the source code. For example you can see > what happens when you do a foreach

Re: Descent 0.5.4 released

2009-01-27 Thread Ary Borenszweig
Ary Borenszweig wrote: The Descent plugin for Eclipse provides an IDE for writing, launching and debugging code in D. Explanations on how to get it from within Eclipse are here: http://www.dsource.org/projects/descent New features: - Compile-time view (Window -> Show View -> Other -> D -> Co

Re: Descent 0.5.4 released

2009-01-27 Thread Aarti_pl
Ary Borenszweig pisze: The Descent plugin for Eclipse provides an IDE for writing, launching and debugging code in D. Explanations on how to get it from within Eclipse are here: http://www.dsource.org/projects/descent (...) Enjoy! You are doing really great job with Descent. Thanks fo

Descent 0.5.4 released

2009-01-27 Thread Ary Borenszweig
The Descent plugin for Eclipse provides an IDE for writing, launching and debugging code in D. Explanations on how to get it from within Eclipse are here: http://www.dsource.org/projects/descent New features: - Compile-time view (Window -> Show View -> Other -> D -> Compile-time View): allow