Re: [Rubydotnet-developer] [ANN] rubydotnet-0.3.0
Status: Alpha
Brought to you by:
thomas
From: Rodrigo B. de O. <rb...@ac...> - 2003-09-28 18:57:43
|
Great work! What are the implications of calling eval from multiple threads? Thanks, Rodrigo ----- Original Message ----- From: "Thomas Sondergaard" <th...@th...> To: <rub...@li...> Sent: Sunday, September 28, 2003 3:16 PM Subject: [Rubydotnet-developer] [ANN] rubydotnet-0.3.0 > Hi guys, > > I've made a new release with an interface for embedding the ruby > interpreter in a .net application. RubyInterpreter.dll is installed in > the ruby bindir - the interface is fairly straightforward: > > RubyInterpreter.instance.eval("your ruby code here") > > or > > RubyInterpreter.instance.eval("your ruby code here", new object[] { your > args here }) > > Just for the kick of it I made this in C# using P/Invoke to make the few > ruby initialization calls and rather than linking to my rubydotnet > library to access the marshalling code I use the facility for > implementing managed interfaces in ruby. > > http://rubydotnet.sourceforge.net > > Cheers, > > Tom |