From: shasckaw Date: 2004-03-01T19:39:46+09:00 Subject: Re: embedding? Eric Smith wrote: > I've written some simulators in C that use Tcl and custom commands as an > embedded debugger language. > > Tcl works OK, but I don't like the language very well. It's simple, but > not very elegant Ruby looks like a much better language. > > Is there any documentation or example code showing embedding Ruby in > a C program? A Google search turns up some C++ stuff, but it didn't > seem very helpful. > > Is it possible to create multiple independent Ruby interpreter contexts? > > Thanks, > Eric > > [If you want to reply by private email, please remove the obvious > spam-proofing from my email address.] Have you tried Lua instead of Tcl? I've heard that even pythoners think lua is better than python for embedding. I don't know if ruby can easily be embedded, but I'm sure it's the case for Lua. Lio