Ruby Weekly is a weekly newsletter covering the latest Ruby and Rails news.

Ruby.NET: A Ruby compiler for the .NET CLR

By Peter Cooper / June 20, 2006

There are a few efforts to develop crossovers between .Net and Ruby, but Ruby.NET one that is creating a compiler for the Ruby language that targets the .NET CLR in much the same way as JRuby targets the Java Virtual Machine. This particular implementation is unique in that it can pass all 871 tests in the samples/test.rb of Ruby 1.8.2.

We are pleased to announce the preliminary Beta release of the Gardens Point Ruby.NET compiler. Note: this is not just a Ruby/.NET bridge, nor a Ruby Interpreter implemented on .NET, but a true .NET compiler. The compiler can be used to statically compile a Ruby source file into a verifiable .NET v2.0 assembly or it can be used to directly execute a Ruby source file (compile, load and execute).

Full source is available too.

Comments

  1. Bob Aman says:

    Seriously, if that works as well as the regular Ruby interpreter, that is seriously awesome. Doubly so if they can get it to run under Mono.

  2. Seo Sanghyeon says:

    It runs on Mono: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/198331

Other Posts to Enjoy

Twitter Mentions