Robert Klemme
12/27/2008 3:45:00 PM
On 27.12.2008 15:35, Rafael El Frederico wrote:
> I need a Ruby Interpreter which works well with all other kinds of
> programming languages. These would potentially include C#, C, C++, Java,
> PHP, Perl, Python, and other ones if possible.
>
> The Ruby Interpreter has to be expandable and easy to use or implement.
>
> I want it to interpret the other languages so that it works along well
> with Ruby. I'm trying to build the main format of the program in Ruby,
> while other fellow developers and programmers are to program in
> different languages like C#, PHP, Perl, etc.
>
> It needs to be capable of interpreting various other programming
> languages, but be a Ruby Programmed Interpreter, not a Java Net Beans
> Interpreter.Whereas, the interpreter would interpret other languages
> while working inside of Rubyprogramming, but not to be compiled or
> anything.
I doubt this beast exists. You can use JRuby and then essentially call
arbitrary Java code. I am not sure whether there is a similar thing for
.Net - but I am almost certain that there is no such thing as an engine
which will interpret .Net *and* Java code equally well at the same time
- let alone all the other languages you mention.
I doubt the usefulness as well. All in one solution tend to get bloated
and have all sorts of issues caused by the different worlds they try to
melt into one.
Your time and money is probably better invested by either using a
distributed approach (i.e. inter process communication like with CORBA
or WebServices) or teach the other guys Ruby or Python to use that
instead of their favorite language. My 0.02EUR...
Kind regards
robert
--
remember.guy do |as, often| as.you_can - without end