Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Calling d code from an interactive shell

Tags:

python

shell

d

pyd

I need an interactive environment where i can call d functions on the fly using a good scripting language with decent scientific plotting libraries (e.g. python).

Is there any way to call d functions from a shell (Ipython or similar)? I looked in to pyd but it seems quite out of date.

like image 394
John_C Avatar asked Jun 18 '12 10:06

John_C


2 Answers

I wholeheartedly recommend the excellent LuaD. It is an active project, the author is StackOverflow user and he is also hanging on the official D IRC channel irc://irc.freenode.org/D .

like image 137
DejanLekic Avatar answered Oct 30 '22 19:10

DejanLekic


Try pyd it's a library for writing extensions for python in D, there is even a distutils extension to help building D extensions for use in python.

like image 22
scripts Avatar answered Oct 30 '22 18:10

scripts