Share on Facebook Share on Twitter Email
Answers.com

MacRuby

 
Wikipedia: MacRuby
MacRuby
Developer(s) Laurent Sansonetti (Apple Inc.)
Stable release 0.4 / 2009-03-16; 8 months ago
Preview release 0.5 Beta 2[1] / 2009-11-17; 8 days ago
Written in C, C++, Objective-C
Operating system Mac OS X
Type Ruby programming language interpreter and compiler
License Ruby License
Website http://www.macruby.org/

MacRuby is an implementation of the Ruby language that runs on the Objective-C runtime and CoreFoundation framework under development by Apple Inc. which "is supposed to replace RubyCocoa".[2] It is based on Ruby 1.9 and currently uses the YARV bytecode interpreter, but will be based on the Low Level Virtual Machine compiler infrastructure starting with version 0.5.

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.[3]

Contents

History

MacRuby was originally called "ruby+objc"[4] 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.[5] Version 0.2 was released in June 2008, and implemented Ruby strings, arrays and hashes as native Cocoa types.[6] In September 2008, MacRuby 0.3 was released[7] and included the HotCocoa library[8] as well as several HotCocoa example programs.[9] In October 2008, Apple created its first MacRuby page on its Developer Connection website.[10] In March 2009, MacRuby 0.4 was announced.

References

  1. ^ http://www.macruby.org/blog/2009/11/17/macruby05b2.html Announcement of the second beta release of MacRuby 0.5
  2. ^ http://forums.pragprog.com/forums/76/topics/687#posts-4160 Discussion of MacRuby as a replacement for RubyCocoa
  3. ^ http://www.infoq.com/news/2008/10/macruby-embedding Embedding MacRuby For Application Scripting
  4. ^ 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
  5. ^ http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/294485 Ruby-Talk: MacRuby 0.1 announcement
  6. ^ http://www.macruby.org/post/44/ MacRuby 0.2 described at MacOS Forge
  7. ^ http://www.macruby.org/post/macruby-03 MacRuby 0.3 announcement
  8. ^ http://www.macruby.org/trac/wiki/HotCocoa HotCocoa Core Library page
  9. ^ http://www.macruby.org/trac/browser/MacRuby/tags/0.3/sample-macruby/HotCocoa HotCocoa examples
  10. ^ http://developer.apple.com/mac/articles/scriptingautomation/cocoaappswithmacruby.html MacRuby page at Apple Developer Connection

External links

See also



Search unanswered questions...
Enter a question here...
Search: All sources Community Q&A Reference topics
 
 
Learn More
RubyForge
Mac OS Forge
Ruby Application Archive

Post a question - any question - to the WikiAnswers community:

 

Copyrights:

Wikipedia. This article is licensed under the Creative Commons Attribution/Share-Alike License. It uses material from the Wikipedia article "MacRuby" Read more