Mr_Tibs wrote:
> Hi,
>
> Is there a way to execute Ruby code from C/C++? I know it is possible
> to call Tcl code from C/C++; the Tcl library provides a
> Tcl_CreateInterp() function which creates an in-process interpreter
> running the Tcl code. Does Ruby provide something similar?
>   
Yes it does.  Search up "ruby c c++" (without quotes) in Google.

Also, see - http://whytheluckystiff.net/ruby/pickaxe/html/ext_ruby.html

Cheers,
Mohit.
1/9/2009 | 2:09 AM.