How to include Python Modules in a D Program?

Bill Baxter dnewsgroup at billbaxter.com
Wed Sep 26 04:04:02 PDT 2007


bearophile wrote:
> Bill Baxter Wrote:
>> No, and there probably never will be because the languages are just too 
>> different.
> 
> I help the development of ShedSkin (sourceforge.net/projects/shedskin) with Mark, it can convert pure, but implicitly statically typed Python programs into optimized C++ code. Modifying it for D is well possible.

"Currently, these programs cannot freely use the Python standard library."

But ok, point taken.  Maybe some day there will be something that will 
be able to convert whatever python code you want to throw at it.  I 
guess there are lisp compilers that solve a similarly challenging problem.

--bb


More information about the Digitalmars-d-learn mailing list