From: Laza Date: 2004-05-13T15:23:52+09:00 Subject: Re: embedding? On 28 Feb 2004 09:42:13 -0800, Eric Smith wrote: > 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. Sure, All modern small scripting languages are made with provisions in mind to - extend the language with C code - embed the language in C code Start from the examples in the Ruby book: http://www.ruby-doc.org/docs/ruby-doc-bundle/ProgrammingRuby/book/ext_ruby.html#S6 Also, note that you can use rubyscript2exe library to convert ruby apps into a self-extracting EXE that contains Ruby interpreter. -- -Laza http://lazax.com/blog laza @ cs.columbia.edu