To clarify:
I need a version of ruby that I can bind / extend with OS-independent C++
classes; I only need the basic script functionality (variables, control
loops, classes, etc.), most of the logic will exist in the C++ system
classes.
SWIG is attractive, if it works, but I still need to be able to build an
executable of the ruby interpreter or link it to my executable on a
non-standard OS (game console).
I am considering ruby because it is OO, otherwise I would just take lua. I
need a language with a very small memory footprint; I am open to all
suggestions. Is there a minimal set of sources for ruby that are OS
independent (read: does not require unix, cygwin, or windows wrappers)?
Thanks,
Jeremy