c extending rubyists-
i peeked through ruby.h a little, and of course the pickaxe, but there does
not seem to be a function similar to ruby_run() which does not cause the
calling process to exit(). of course, one can use rb_eval_string(), etc…
what would the best way to repeatedly call the interpreter? is this possible
to do without accumulating global objects/contstants/etc. i feel like i may
be missing some fundemental concept here but i’ve only written one small
extension, and only example programs which embed the interpreter, so my
c<->ruby experience is limited…
thanks in advance.
-a
···
–
Ara Howard
NOAA Forecast Systems Laboratory
Information and Technology Services
Data Systems Group
R/FST 325 Broadway
Boulder, CO 80305-3328
Email: ara.t.howard@fsl.noaa.gov
Phone: 303-497-7238
Fax: 303-497-7259
====================================