Hi,

I added bindings to the D language

http://www.digitalmars.com/d/index.html

which is successor of C developed by Walter Bright

http://www.walterbright.com/

Apart from the D Compiler provided by digitalmars

http://www.digitalmars.com/d/2.0/dcompiler.html

there is already a D language front end for the GNU compiler collection

http://dgcc.sourceforge.net/

It's quite easy to link D programs to C libraries.

Out of interest for this new language I decided to add the bindings to 
plplot and to port the plplot examples to D (we could discuss now why 
the world needs another object-oriented version of C, but lets just skip 
that :). D has some interesting features though (e.g. garbage 
collector). CMake doesn't support D compilers right now, but there are 
already cmake files provided here http://www.dsource.org/projects/cmaked 
which we could add to our repository, if the cmake developers don't add 
them. The changes so far to the CBS are rather non-intrusive - you 
explicitly need to set the ENABLE_d=ON option during the CMake configure 
stage to have the bindings and examples installed. The examples are not 
built right now.

If only tested the bindings and examples on Windows (MinGW) but I don't 
expect problems for other platforms. Instructions to compile the 
examples are found in plplot/bindings/d/README.txt.

Regards,
Werner

-- 
Dr. Werner Smekal
Institut fuer Allgemeine Physik
Technische Universitaet Wien
Wiedner Hauptstr 8-10
A-1040 Wien
Austria

email: [EMAIL PROTECTED]
web:   http://www.iap.tuwien.ac.at/~smekal
phone: +43-(0)1-58801-13463 (office)
        +43-(0)1-58801-13469 (laboratory)
fax:   +43-(0)1-58801-13499

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to