| This article or section contains information about computer software currently in development. The content may change as the software development progresses. |
| Please help improve this article or section by expanding it. Further information might be found on the talk page. (October 2008) |
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
- ^ http://forums.pragprog.com/forums/76/topics/687#posts-4160 Discussion of MacRuby as a replacement for RubyCocoa
- ^ http://www.infoq.com/news/2008/10/macruby-embedding Embedding MacRuby For Application Scripting
- ^ 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
- ^ http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/294485 Ruby-Talk: MacRuby 0.1 announcement
- ^ http://www.macruby.org/post/44/ MacRuby 0.2 described at MacOS Forge
- ^ http://www.macruby.org/post/macruby-03 MacRuby 0.3 announcement
- ^ http://www.macruby.org/trac/wiki/HotCocoa HotCocoa Core Library page
- ^ http://www.macruby.org/trac/browser/MacRuby/tags/0.3/sample-macruby/HotCocoa HotCocoa examples
- ^ http://developer.apple.com/mac/articles/scriptingautomation/cocoaappswithmacruby.html MacRuby page at Apple Developer Connection
External links
- MacRuby project homepage
- MacRuby download
- Developing Cocoa Applications Using MacRuby
- Fool's Ruby and Cocoa Workshop - MacRuby Archive
- MacRuby Core Data Tutorial
See also
No comments have been added.





