function declaration in parameter list

2013-05-01 Thread Jay Norwood
On Saturday, 6 April 2013 at 14:50:50 UTC, Bruno Medeiros wrote: Interesting thread. I've been working on a hand-written D parser (in Java, for the DDT IDE) and I too have found a slew of grammar spec issues. Some of them more serious than the ones you mentioned above. In same cases it's

Re: function declaration in parameter list

2013-05-01 Thread evilrat
On Wednesday, 1 May 2013 at 06:12:54 UTC, Jay Norwood wrote: On Saturday, 6 April 2013 at 14:50:50 UTC, Bruno Medeiros wrote: Interesting thread. I've been working on a hand-written D parser (in Java, for the DDT IDE) and I too have found a slew of grammar spec issues. Some of them more

D is totally useless

2013-05-01 Thread Temtaime
I'm new in D, so i'm tried to write some in that langugage. That's story about how i tried to port OGL sample, that renders one triangle. I was very surprised when i found, that D doesn't have equivalent of gl/gl.h. Any C++ compiler has it. Okay, i'm investigate in it and found OpenGL in

Re: D is totally useless

2013-05-01 Thread Raphaël Jakse
Le 01/05/2013 10:42, Temtaime a écrit : I'm new in D, so i'm tried to write some in that langugage. That's story about how i tried to port OGL sample, that renders one triangle. You can do much better with the D programming langage. See : -

Re: D is totally useless

2013-05-01 Thread Jacob Carlborg
On 2013-05-01 10:42, Temtaime wrote: core.sys.windows.windows doesn't have a lot of functions. It doesn't contain simple function DestroyWindow for example. Declarations are basically added on a need to need basis. -- /Jacob Carlborg

Re: D is totally useless

2013-05-01 Thread evilrat
On Wednesday, 1 May 2013 at 08:42:40 UTC, Temtaime wrote: I'm new in D, so i'm tried to write some in that langugage. That's story about how i tried to port OGL sample, that renders one triangle. I was very surprised when i found, that D doesn't have equivalent of gl/gl.h. Any C++ compiler

Re: D is totally useless

2013-05-01 Thread John Colvin
On Wednesday, 1 May 2013 at 08:42:40 UTC, Temtaime wrote: I'm new in D, so i'm tried to write some in that langugage. That's story about how i tried to port OGL sample, that renders one triangle. I was very surprised when i found, that D doesn't have equivalent of gl/gl.h. Any C++ compiler

Re: D is totally useless

2013-05-01 Thread John Colvin
On Wednesday, 1 May 2013 at 08:42:40 UTC, Temtaime wrote: I'm new in D, so i'm tried to write some in that langugage. That's story about how i tried to port OGL sample, that renders one triangle. I was very surprised when i found, that D doesn't have equivalent of gl/gl.h. Any C++ compiler

Re: D is totally useless

2013-05-01 Thread Damian
On Wednesday, 1 May 2013 at 08:42:40 UTC, Temtaime wrote: I'm new in D, so i'm tried to write some in that langugage. That's story about how i tried to port OGL sample, that renders one triangle. I was very surprised when i found, that D doesn't have equivalent of gl/gl.h. Any C++ compiler

Re: D is totally useless

2013-05-01 Thread Temtaime
I had investigate a little more in it. Thanks to Jack Applegame, we made a copy of gl/gl.h and opengl32.lib for DMD. http://acomirei.ru/u/gl.d http://acomirei.ru/u/opengl32.lib I hope it will be included in DMD, now it's first draft of our work.

Re: D is totally useless

2013-05-01 Thread Dejan Lekic
Temtaime wrote: I had investigate a little more in it. Thanks to Jack Applegame, we made a copy of gl/gl.h and opengl32.lib for DMD. http://acomirei.ru/u/gl.d http://acomirei.ru/u/opengl32.lib I hope it will be included in DMD, now it's first draft of our work. Why on the Earth would

Re: D is totally useless

2013-05-01 Thread Temtaime
And why not? If not, then you should drop support of platform specific headers like windows.d. Because it's full of a drawing and many other functions. OpenGL is part of WinAPI.

Re: D is totally useless

2013-05-01 Thread John Colvin
On Wednesday, 1 May 2013 at 21:26:32 UTC, Temtaime wrote: Because it's full of a drawing and many other functions. OpenGL is part of WinAPI. Is that strictly speaking true? I didn't think opengl was part of the windows api (WinAPI) itself. Anyway, afaik opengl is not provided by c/c++

Re: D is totally useless

2013-05-01 Thread Jesse Phillips
On Wednesday, 1 May 2013 at 22:33:40 UTC, John Colvin wrote: On Wednesday, 1 May 2013 at 21:26:32 UTC, Temtaime wrote: Because it's full of a drawing and many other functions. OpenGL is part of WinAPI. Is that strictly speaking true? I didn't think opengl was part of the windows api (WinAPI)

Re: starting with GUI

2013-05-01 Thread Carlos
On Tuesday, 30 April 2013 at 17:36:37 UTC, Carlos wrote: A wild guess: import gtk.Entry; Thank you I just did that some minutes ago ( a good guess ). Now I'm trying to work on the layout so I can finally enter in signals if that's how GTKD works. For anyone interested in what I'm doing here

Re: D is totally useless

2013-05-01 Thread Carlos
On Wednesday, 1 May 2013 at 08:53:18 UTC, Raphaël Jakse wrote: Le 01/05/2013 10:42, Temtaime a écrit : I'm new in D, so i'm tried to write some in that langugage. That's story about how i tried to port OGL sample, that renders one triangle. You can do much better with the D programming

Re: D is totally useless

2013-05-01 Thread evilrat
On Thursday, 2 May 2013 at 02:07:23 UTC, Carlos wrote: On Wednesday, 1 May 2013 at 08:53:18 UTC, Raphaël Jakse wrote: Le 01/05/2013 10:42, Temtaime a écrit : I'm new in D, so i'm tried to write some in that langugage. That's story about how i tried to port OGL sample, that renders one