MacRuby

From Seo Wiki - Search Engine Optimization and Programming Languages

Jump to: navigation, search
MacRuby
Developer(s) Laurent Sansonetti (Apple Inc.)
Stable release 0.5[1] / January 31, 2010; 127508872 ago
Preview release 0.5 Beta 2[2] / November 17, 2009; 133988872 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".[3] 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.[4]

Contents

History

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

References

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

External links

See also


Personal tools

Served in 0.336 secs.