调用Ruby 186-25 eval()方法 [英] Calling Ruby 186-25 eval( ) method
问题描述
Hello, I downloaded Visual Studio Express 2013 and would like to be able to call the Ruby eval( ) method from an application I will be trying to build, either in Visual Basic or Visual C#. I want to feed the eval( ) method ruby strings iteratively until it tells me that the string is a valid Ruby expression - I would keep feeding it the string with extra lines of code being appended until eval( ) says it is valid. I am using Ruby 186-25. I am a real neophyte as regards Visual Studio and Visual Basic and Visual C#. Any help would be greatly appreciated.
我还曾在Visual Basic论坛上问过这个问题,因为我尚未确定尝试使用哪种语言.
I have also asked this question on the Visual Basic forum as I have not yet determined which language to try doing this with.
感谢您的宝贵时间!
哈里
推荐答案
尝试以下链接.您需要IronRuby才能在c#中完成Ruby
Try the below link. You need IronRuby to do the Ruby in c#
http://www.codeproject.com/Articles/121408/Step-by-step-guidance-for-calling-a-IronRuby-Metho
http://www.codeproject.com/Articles/121408/Step-by-step-guidance-for-calling-a-IronRuby-Metho
http://ironruby.codeplex.com/
http://ironruby.codeplex.com/
这篇关于调用Ruby 186-25 eval()方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!