From: John Smith Date: 2008-03-28T07:24:57+09:00 Subject: Re: embedding ruby (*not* extending) John Smith wrote: > I need to embed a scripting languange in a C++ application. > > Currently I am evaluating some scripting languages for this purpose. > > * perl (that works, although it needs a big amount of C++ glue code to > deal with the perl stack(s) > * python - have not tried yet > * lua - that's really great, very easy to embed. Not surpring since > lua is "designed to be embedded". Unfortuneately the lua interpreter is > very limited > * ruby - there is no/very limited docs about howto do that > > > to clarify: I am not talking about *extending* ruby, e.g. via SWIG. That > is quite easy to do. > > What I mean is *embedding* it into an existing large C++ program and > than call some ruby functions (and to give some values to this ruby > functions and to get some values back from this ruby functions) > [...] thanks a lot guys. Your responses where very very helpful! I'm going to dive into all of this interesting resources. BTW: I am developing inside a cross-platform application. It uses: * Microsoft Visual Studion 2008 * gcc - at least v3.3.3 (for Linux and MacOS)