From: ts Date: 2001-09-30T00:26:18+09:00 Subject: [ruby-talk:21824] Re: Embedding >>>>> "T" == Todd Gillespie writes: T> Only moderately related, but how can I do something like Tcl's T> Tcl_CreateInterp() to generate a seperate interpreter? What collection of T> internal methods and data structures do I need to access? Well I don't know Tcl and what do Tcl_CreateInterp(), but with ruby actually I think that you can have only one interpreter (i.e. you can have only one call to ruby_init()) but you can execute some code in an anonymous module. There is rb_eval_string_wrap(), rb_load() and rb_load_protect() to do this. Guy Decoux