MacRuby is an implementation of the Ruby language that runs on the Objective-C runtime under development by Apple Inc. which "is supposed to replace RubyCocoa".[1] It is based on Ruby 1.9 and uses the YARV bytecode interpreter. MacRuby supports Interface Builder and ships with a core library called HotCocoa to simplify Cocoa programming. MacRuby has also been used as an embedded scripting language for Objective-C applications.[2]

Contents

History

MacRuby was originally called "ruby+objc"[3] and was developed by Laurent Sansonetti, who began work on it in late 2007. In March 2008, the first publicly available version, MacRuby 0.1, was announced on the official RubyTalk forum.[4] Version 0.2 was released in June 2008, and implemented Ruby strings, arrays and hashes as native Cocoa types.[5] In September 2008, MacRuby 0.3 was released[6] and included the HotCocoa library[7] as well as several HotCocoa example programs.[8] In October 2008, Apple created its first MacRuby page on its Developer Connection website.[9]

References

  1. ^ http://forums.pragprog.com/forums/76/topics/687#posts-4160 Discussion of MacRuby as a replacement for RubyCocoa
  2. ^ http://www.infoq.com/news/2008/10/macruby-embedding Embedding MacRuby For Application Scripting
  3. ^ http://chopine.be/lrz/diary/2007-12-07_ruby-objc-Part-1.html Developer Laurent Sansonetti first discusses "ruby+objc" (which became MacRuby) on his blog
  4. ^ http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/294485 Ruby-Talk: MacRuby 0.1 announcement
  5. ^ http://www.macruby.org/post/44/ MacRuby 0.2 described at MacOS Forge
  6. ^ http://www.macruby.org/post/macruby-03 MacRuby 0.3 announcement
  7. ^ http://www.macruby.org/trac/wiki/HotCocoa HotCocoa Core Library page
  8. ^ http://www.macruby.org/trac/browser/MacRuby/tags/0.3/sample-macruby/HotCocoa HotCocoa examples
  9. ^ http://developer.apple.com/mac/articles/scriptingautomation/cocoaappswithmacruby.html MacRuby page at Apple Developer Connection

External links

See also


No comments have been added.



Your name:

City:

Country:

Your comments:

Security check *
(Please enter the number into adjoining box)