Has anybody tried calling D from Ruby?
Atila Neves
atila.neves at gmail.com
Mon Apr 14 00:54:43 PDT 2014
> I have embedded Ruby in a D application. Called methods in both
> directions. I had no problem. Have a look at this mostly
> abandoned project [1]. The bindings where created from 1.9.1
> (ABI version). Here [2] are the C bindings and here [3] are
> some wrappers.
Interesting. How did you generate ruby.d and the other necessary
interface files, by hand?
>
>> Trying to use the C API directly from D didn't really work. I
>> tried dstep on ruby.h and it threw an exception. Ah, macros...
>
> Please report an issue. It shouldn't be throwing an exception.
I will.
Atila
More information about the Digitalmars-d
mailing list