The best I could manage was to use the C/C++ API and have that call the linked in D code by hacking the automatically generated Makefile. But at least that worked, up to a point. Even though I linked in Phobos, it crashed when I called writeln (but core.stdc.stdio.printf was ok).
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... Atila
