POV-Ray : Newsgroups : povray.general : CSDL alpha 3 released Server Time
19 Nov 2024 11:48:27 EST (-0500)
  CSDL alpha 3 released (Message 1 to 9 of 9)  
From: Christopher James Huff
Subject: CSDL alpha 3 released
Date: 24 Mar 2002 23:46:36
Message: <chrishuff-9A622B.23470524032002@netplex.aussie.org>
http://homepage.mac.com/chrishuff/csdl/csdl.html

There have been substantial changes in this version, it is now a much 
more complete language, and the source code is in much better condition. 
It still has far to go, however.
Comments?

-- 
Christopher James Huff <chr### [at] maccom>
POV-Ray TAG e-mail: chr### [at] tagpovrayorg
TAG web site: http://tag.povray.org/


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: CSDL alpha 3 released
Date: 25 Mar 2002 08:03:21
Message: <3c9f2019@news.povray.org>
In article <chr### [at] netplexaussieorg> , Christopher
James Huff <chr### [at] maccom>  wrote:

> http://homepage.mac.com/chrishuff/csdl/csdl.html
>
> There have been substantial changes in this version, it is now a much
> more complete language, and the source code is in much better condition.
> It still has far to go, however.
> Comments?

You implementation of operations as classes is a nice idea but a perfect speed
killer, too.

As for the source code, to every header of the file at least add one or two
lines that explain what the code in this files does.  Without it one has to
read the source code or look for the function names the guess which purpose
some file has as part of the whole.

I don't have time to compile it or take a closer look, sorry!

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From:
Subject: Re: CSDL alpha 3 released
Date: 25 Mar 2002 08:17:09
Message: <df8u9u0gsp32aah0fvjqc51gchmeai4m33@4ax.com>
On Sun, 24 Mar 2002 23:47:06 -0600, Christopher James Huff <chr### [at] maccom>
wrote:
> http://homepage.mac.com/chrishuff/csdl/csdl.html
> Comments?

I'll probably check your stuff some day but small hints at this moment
remove <html> after <body> and close </body> before </html>

ABX


Post a reply to this message

From: Christopher James Huff
Subject: Re: CSDL alpha 3 released
Date: 25 Mar 2002 09:00:28
Message: <chrishuff-82865A.09005925032002@netplex.aussie.org>
In article <df8u9u0gsp32aah0fvjqc51gchmeai4m33@4ax.com>,
 W?odzimierz ABX Skiba <abx### [at] babilonorg> wrote:

> On Sun, 24 Mar 2002 23:47:06 -0600, Christopher James Huff <chr### [at] maccom>
> wrote:
> > http://homepage.mac.com/chrishuff/csdl/csdl.html
> > Comments?
> 
> I'll probably check your stuff some day but small hints at this moment
> remove <html> after <body> and close </body> before </html>

Wups...the stuff at the top of the page happened when I replaced the 
HTML headers, not sure how the </body> disappeared.

-- 
Christopher James Huff <chr### [at] maccom>
POV-Ray TAG e-mail: chr### [at] tagpovrayorg
TAG web site: http://tag.povray.org/


Post a reply to this message

From: Christopher James Huff
Subject: Re: CSDL alpha 3 released
Date: 25 Mar 2002 09:31:04
Message: <chrishuff-E4D2C3.09313425032002@netplex.aussie.org>
In article <3c9f2019@news.povray.org>,
 "Thorsten Froehlich" <tho### [at] trfde> wrote:

> You implementation of operations as classes is a nice idea but a perfect speed
> killer, too.

I'm really not sure what the best way to do them is, I plan to do some 
tests. I basically see three possible ways:
1: A struct of an integer value and whatever needed data, a big enum, 
and a giant switch (which alpha 1 and 2 used, it got pretty messy).
2: A struct of a function pointer and data.
3: A class with a virtual function.
However, I don't really see how a virtual function would be considerably 
slower than function pointers. And it seems faster than it was before, 
though I have made too many changes to accurately judge. Previous 
versions used a giant switch statement, which was difficult to work with.
I'll probably keep the use of objects to create the operations, even if 
they just get converted to something else. The constructors give a 
convenient way of giving the needed information to the operation.


> As for the source code, to every header of the file at least add one or two
> lines that explain what the code in this files does.  Without it one has to
> read the source code or look for the function names the guess which purpose
> some file has as part of the whole.

I've still got a lot of work to do on documentation...

-- 
Christopher James Huff <chr### [at] maccom>
POV-Ray TAG e-mail: chr### [at] tagpovrayorg
TAG web site: http://tag.povray.org/


Post a reply to this message

From: Christopher James Huff
Subject: CSDL alpha 4 released
Date: 30 Mar 2002 11:38:43
Message: <chrishuff-0DD4A1.11393830032002@netplex.aussie.org>
Same place,
http://homepage.mac.com/chrishuff/csdl/csdl.html

It is finally getting to the point that it is a useful language...

I've added ++, --, and == operators (the behavior is the same as that in 
C), and tested the new loops pretty thoroughly, C-style do...while() and 
for() loops work.
I've also added a way to merge member objects into the owner object, 
check out the "delegate" feature. This basically lets you have multiple 
"parents" for an object to inherit from.
I've also added a graph object, and povray.csdl now produces indented 
output. (sorry Ken... ;-)

-- 
Christopher James Huff <chr### [at] maccom>
POV-Ray TAG e-mail: chr### [at] tagpovrayorg
TAG web site: http://tag.povray.org/


Post a reply to this message

From: Christopher James Huff
Subject: Re: CSDL alpha 4 released
Date: 30 Mar 2002 21:55:04
Message: <chrishuff-69FBA0.21560130032002@netplex.aussie.org>
Oops, found and fixed an error in the multiplication/division code, and 
fixed the problem with scalar-vector expressions apparently evaluating 
to scalars. Maybe I'll make an alpha 4.1 release tomorrow, if anyone 
shows any interest.

-- 
Christopher James Huff <chr### [at] maccom>
POV-Ray TAG e-mail: chr### [at] tagpovrayorg
TAG web site: http://tag.povray.org/


Post a reply to this message

From: Christoph Hormann
Subject: Re: CSDL alpha 4 released
Date: 3 Apr 2002 09:46:50
Message: <3CAB15DB.578A8D1@gmx.de>
Christopher James Huff wrote:
> 
> Oops, found and fixed an error in the multiplication/division code, and
> fixed the problem with scalar-vector expressions apparently evaluating
> to scalars. Maybe I'll make an alpha 4.1 release tomorrow, if anyone
> shows any interest.

I am interested, but i did not yet have time to test alpha 4. 

Christoph 

-- 
POV-Ray tutorials, IsoWood include,                 
TransSkin and more: http://www.tu-bs.de/~y0013390/  
Last updated 18 Mar. 2002 _____./\/^>_*_<^\/\.______


Post a reply to this message

From: Christopher James Huff
Subject: Re: CSDL alpha 4 released
Date: 3 Apr 2002 14:44:56
Message: <chrishuff-620D7A.14460703042002@netplex.aussie.org>
In article <3CA### [at] gmxde>,
 Christoph Hormann <chr### [at] gmxde> wrote:

> > Oops, found and fixed an error in the multiplication/division code, and
> > fixed the problem with scalar-vector expressions apparently evaluating
> > to scalars. Maybe I'll make an alpha 4.1 release tomorrow, if anyone
> > shows any interest.
> 
> I am interested, but i did not yet have time to test alpha 4. 

Your reply comes a little late...
I'll just release an alpha 5 this weekend, it isn't really worth it to 
release alpha 4.1 now and another one in a few days.

-- 
Christopher James Huff <chr### [at] maccom>
POV-Ray TAG e-mail: chr### [at] tagpovrayorg
TAG web site: http://tag.povray.org/


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.