ruby?

Mar 19, 2007 at 11:07pm

ruby?

has anyone thought about making a ruby script object, along the lines of py/pyext?
and does anyone have any useful advice or example code relevant to this?

#30918
Mar 19, 2007 at 11:15pm

Without making any bindings to Jitter et al, it would be pretty
straightforward. Just build the ruby interpreter into an external
object and create some mechanism for loading scripts and talking to
inlets and outlets. Check out the Ruby C interface for more details
on how to do this:

http://www.ruby-lang.org/en/documentation/

Particularly the Ruby module:

http://www.ruby-doc.org/doxygen/current/group__ruby__ruby.html

And the Interpreter Interface:

http://www.ruby-doc.org/doxygen/current/group__ruby__interp.html

wes

On 3/19/07, thezer0ist

wrote:
>
> has anyone thought about making a ruby script object, along the lines of py/pyext?
> and does anyone have any useful advice or example code relevant to this?
>

#99563
Mar 20, 2007 at 7:10pm

On 19 Mar 2007, at 23:15, Wesley Smith wrote:

> Just build the ruby interpreter into an external
> object and create some mechanism for loading scripts and talking to
> inlets and outlets.

Alternatively, wrap JRuby into MXJ.

#99564
Mar 22, 2007 at 6:49pm

i’ve considered doing that, but it feels like that might be one too many levels of indirection. it’d be nice to not have to bridge it through another language. then again, perhaps that doesn’t really matter.
thanks for the suggestion.

#99565

You must be logged in to reply to this topic.