MacRuby
Developer(s) | Laurent Sansonetti (Apple Inc.) |
---|---|
Stable release | 0.5[1] / January 31, 2010 |
Preview release | 0.5 Beta 2[2] / November 17, 2009 |
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]
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
- ↑ http://www.macruby.org/blog/2010/01/31/macruby05.html MacRuby 0.5 announcement
- ↑ http://www.macruby.org/blog/2009/11/17/macruby05b2.html Announcement of the second beta release of MacRuby 0.5
- ↑ 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
- MacRuby presentation during RubyConf 08 by Laurent Sansonetti (video)
- OS X Application Development with HotCocoa by Rich Kilmer (video)
- Introduction to MacRuby by Matt Aimonetti (slides)
- MacRuby's Twitter account
- Fool's Ruby and Cocoa Workshop - MacRuby Archive
- MacRuby Core Data Tutorial
- Using MacRuby with Snow Leopard
See also
|
Stub icon | This computer programming-related article is a stub. You can help Wikipedia by expanding it. |
If you like SEOmastering Site, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...