github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

masterkain / macruby

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 282
    • 19
  • Source
  • Commits
  • Network (19)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Ruby 1.9 ported to run directly on top of Mac OS X core technologies. Trunk mirror. — Read more

  cancel

http://www.macruby.org

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

cleaning a bit public headers, added support for methods defined for the 
MRI ABI (using rb_define_method & friends), removed unused code 
lsansonetti@apple.com (author)
Tue Feb 09 22:38:36 -0800 2010
commit  311d13dcf87c628bc08013b402a8f578b3e9a59a
tree    464b9a7d38fd814b8225ab6ff24b1fe4f144724e
parent  208dc31c2d43eed2426bf840dd9bb9ad42f8191c
macruby /
name age
history
message
file .cvsignore Mon Feb 25 22:40:53 -0800 2008 added missing .document and .cvsignore files (f... [lsansonetti@apple.com]
file .document Mon Feb 25 22:40:53 -0800 2008 added missing .document and .cvsignore files (f... [lsansonetti@apple.com]
file .gitignore Mon Jan 11 15:16:36 -0800 2010 Remove local rubyspec temp dir before run. Adde... [eloy.de.enige@gmail.com]
file COPYING Wed Mar 11 14:14:13 -0700 2009 committing experimental branch content git-svn... [lsansonetti@apple.com]
file GPL Mon Feb 25 12:18:21 -0800 2008 initial import git-svn-id: http://svn.macosfor... [lsansonetti@apple.com]
file HACKING.rdoc Mon Feb 08 12:49:53 -0800 2010 added a section about code design git-svn-id: ... [lsansonetti@apple.com]
file LEGAL Mon Apr 13 13:25:07 -0700 2009 added autozone.h legal information git-svn-id:... [lsansonetti@apple.com]
file LGPL Mon Feb 25 12:18:21 -0800 2008 initial import git-svn-id: http://svn.macosfor... [lsansonetti@apple.com]
file MacRuby.m Tue Feb 09 22:38:36 -0800 2010 cleaning a bit public headers, added support fo... [lsansonetti@apple.com]
file MacRubyDebuggerConnector.h Sun Jan 17 22:04:25 -0800 2010 fixed internal debugger interpreter path git-s... [lsansonetti@apple.com]
file MacRubyDebuggerConnector.m Sun Jan 17 22:04:25 -0800 2010 fixed internal debugger interpreter path git-s... [lsansonetti@apple.com]
file NSArray.m Sat Feb 06 20:51:44 -0800 2010 completed Array refactoring, cleaned out a few ... [lsansonetti@apple.com]
file NSDictionary.m Sat Feb 06 20:51:44 -0800 2010 completed Array refactoring, cleaned out a few ... [lsansonetti@apple.com]
file README.rdoc Tue Feb 09 17:06:55 -0800 2010 Adding more specific instructions for the LLVM ... [pthomson@apple.com]
file Rakefile Tue Nov 24 17:22:35 -0800 2009 ignore RUBYOPT git-svn-id: http://svn.macosfor... [lsansonetti@apple.com]
file TODO Sat Feb 06 20:58:45 -0800 2010 refreshed git-svn-id: http://svn.macosforge.or... [lsansonetti@apple.com]
file array.c Mon Feb 08 17:08:20 -0800 2010 Array#sample: raise an exception if given count... [lsansonetti@apple.com]
file array.h Sat Feb 06 20:51:44 -0800 2010 completed Array refactoring, cleaned out a few ... [lsansonetti@apple.com]
file auto_zone_1060.h Tue Jan 19 17:54:14 -0800 2010 Added 2010 Copyrights git-svn-id: http://svn.m... [ernest.prabhakar@gmail.com]
file b.rb Wed Mar 11 14:14:13 -0700 2009 committing experimental branch content git-svn... [lsansonetti@apple.com]
file bench.rb Tue Apr 07 18:24:23 -0700 2009 enabled tail-call elimination git-svn-id: http... [lsansonetti@apple.com]
directory benchmark/ Wed Mar 11 14:14:13 -0700 2009 committing experimental branch content git-svn... [lsansonetti@apple.com]
file bignum.c Thu Oct 15 18:37:01 -0700 2009 re-implemented #rand and #srand to use random(3... [lsansonetti@apple.com]
directory bin/ Thu Feb 04 16:26:35 -0800 2010 rbos are now linked properly when MacRuby is em... [mattaimonetti@gmail.com]
file bridgesupport.cpp Tue Jan 19 17:54:14 -0800 2010 Added 2010 Copyrights git-svn-id: http://svn.m... [ernest.prabhakar@gmail.com]
file bridgesupport.h Tue Jan 19 17:54:14 -0800 2010 Added 2010 Copyrights git-svn-id: http://svn.m... [ernest.prabhakar@gmail.com]
file bs.c Tue Jan 19 17:54:14 -0800 2010 Added 2010 Copyrights git-svn-id: http://svn.m... [ernest.prabhakar@gmail.com]
file bs.h Tue Jan 19 17:54:14 -0800 2010 Added 2010 Copyrights git-svn-id: http://svn.m... [ernest.prabhakar@gmail.com]
file bs_lex.h Tue Aug 11 04:40:10 -0700 2009 fixed compilation on Leopard git-svn-id: http:... [vincent.isambart@gmail.com]
file bs_struct_readers.c Wed Apr 22 17:55:53 -0700 2009 statically generate the struct reader methods, ... [lsansonetti@apple.com]
file class.c Tue Feb 09 22:38:36 -0800 2010 cleaning a bit public headers, added support fo... [lsansonetti@apple.com]
file compar.c Tue Jul 07 19:52:12 -0700 2009 optimized dummy calls to <=>: git-svn-id: http... [lsansonetti@apple.com]
file compiler.cpp Tue Feb 09 22:38:36 -0800 2010 cleaning a bit public headers, added support fo... [lsansonetti@apple.com]
file compiler.h Tue Feb 09 22:38:36 -0800 2010 cleaning a bit public headers, added support fo... [lsansonetti@apple.com]
file complex.c Thu Aug 27 22:11:13 -0700 2009 added fixnum/float/complex support for the fast... [lsansonetti@apple.com]
file cont.c Wed Mar 11 14:14:13 -0700 2009 committing experimental branch content git-svn... [lsansonetti@apple.com]
file debugger.cpp Sat Jan 16 20:37:52 -0800 2010 experimental debugger git-svn-id: http://svn.m... [lsansonetti@apple.com]
file debugger.h Sat Jan 16 20:37:52 -0800 2010 experimental debugger git-svn-id: http://svn.m... [lsansonetti@apple.com]
file dir.c Tue Feb 09 22:38:36 -0800 2010 cleaning a bit public headers, added support fo... [lsansonetti@apple.com]
file dispatcher.cpp Tue Feb 09 14:39:29 -0800 2010 when doing an assignment from thread X to threa... [lsansonetti@apple.com]
file distruby.rb Mon Feb 25 12:18:21 -0800 2008 initial import git-svn-id: http://svn.macosfor... [lsansonetti@apple.com]
file dln.c Fri Sep 25 17:14:56 -0700 2009 .rbo files are now initialized using a gcc cons... [lsansonetti@apple.com]
file dln.h Fri Sep 25 17:14:56 -0700 2009 .rbo files are now initialized using a gcc cons... [lsansonetti@apple.com]
file dmydln.c Mon Feb 25 12:18:21 -0800 2008 initial import git-svn-id: http://svn.macosfor... [lsansonetti@apple.com]
file dmyencoding.c Sun May 18 01:10:19 -0700 2008 sync with ruby trunk r15665 git-svn-id: http:/... [lsansonetti@apple.com]
file dmyext.c Mon Feb 25 12:18:21 -0800 2008 initial import git-svn-id: http://svn.macosfor... [lsansonetti@apple.com]
file dmytranscode.c Sun May 18 01:10:19 -0700 2008 sync with ruby trunk r15665 git-svn-id: http:/... [lsansonetti@apple.com]
file dtrace.d Thu Oct 08 18:56:53 -0700 2009 removed the insn__entry and insn__return probes... [lsansonetti@apple.com]
file encoding.c Wed Feb 03 17:24:42 -0800 2010 define Encoding::BINARY as a shortcut to US_ASC... [lsansonetti@apple.com]
file enum.c Fri Sep 04 21:49:21 -0700 2009 fixing a bunch of minor IO bugs git-svn-id: ht... [lsansonetti@apple.com]
file enumerator.c Thu Sep 17 16:47:17 -0700 2009 rewrote the file loader (it was really time) + ... [lsansonetti@apple.com]
file env.c Wed Feb 03 21:29:57 -0800 2010 moved the ENV stuff into a separate file git-s... [lsansonetti@apple.com]
file error.c Fri Feb 05 15:52:42 -0800 2010 added encoding-related exceptions (taken from 1... [vincent.isambart@gmail.com]
file eval.c Fri Jan 22 18:45:37 -0800 2010 fix a const lookup bug in instance_eval, fix a ... [lsansonetti@apple.com]
file eval_error.c Wed Mar 11 14:14:13 -0700 2009 committing experimental branch content git-svn... [lsansonetti@apple.com]
file eval_jump.c Mon Jan 18 14:55:13 -0800 2010 call at_exit blocks within exception handlers ... [lsansonetti@apple.com]
file eval_safe.c Wed Mar 11 14:14:13 -0700 2009 committing experimental branch content git-svn... [lsansonetti@apple.com]
directory ext/ Wed Feb 03 18:09:52 -0800 2010 clean bad code (thanks Eloy) git-svn-id: http:... [lsansonetti@apple.com]
file file.c Fri Jan 29 17:26:55 -0800 2010 register not implemented methods with rb_f_noti... [lsansonetti@apple.com]
directory framework/ Wed Jun 11 20:04:36 -0700 2008 auto-generate the framework Info.plist file gi... [lsansonetti@apple.com]
file gc-stub.m Tue Jan 19 17:54:14 -0800 2010 Added 2010 Copyrights git-svn-id: http://svn.m... [ernest.prabhakar@gmail.com]
file gc.c Tue Feb 09 22:38:36 -0800 2010 cleaning a bit public headers, added support fo... [lsansonetti@apple.com]
file gcd.c Wed Feb 03 17:16:08 -0800 2010 Fix typo in gcd.c rdoc git-svn-id: http://svn.... [ernest.prabhakar@gmail.com]
file gem_prelude.rb Mon Jan 25 12:26:51 -0800 2010 Updated RubyGems to 1.3.5 git-svn-id: http://s... [eloy.de.enige@gmail.com]
file gen_bs_struct_readers.rb Wed Apr 22 17:55:53 -0700 2009 statically generate the struct reader methods, ... [lsansonetti@apple.com]
file golf_prelude.rb Sun May 18 01:10:19 -0700 2008 sync with ruby trunk r15665 git-svn-id: http:/... [lsansonetti@apple.com]
file hash.c Sat Feb 06 20:51:44 -0800 2010 completed Array refactoring, cleaned out a few ... [lsansonetti@apple.com]
file hash.h Sat Feb 06 20:51:44 -0800 2010 completed Array refactoring, cleaned out a few ... [lsansonetti@apple.com]
file id.c Mon Jan 11 14:57:50 -0800 2010 - Fixes #531 by implementing #[] and #[]= as s... [martinlagardette@apple.com]
file id.h Mon Jan 11 14:57:50 -0800 2010 - Fixes #531 by implementing #[] and #[]= as s... [martinlagardette@apple.com]
directory include/ Tue Feb 09 22:38:36 -0800 2010 cleaning a bit public headers, added support fo... [lsansonetti@apple.com]
file inits.c Wed Feb 03 21:30:46 -0800 2010 initialize the new ENV file git-svn-id: http:/... [lsansonetti@apple.com]
file instruby.rb Tue Dec 01 13:36:04 -0800 2009 find llc using rbconfig's LLVM_PATH git-svn-id... [lsansonetti@apple.com]
file io.c Fri Jan 29 17:26:55 -0800 2010 register not implemented methods with rb_f_noti... [lsansonetti@apple.com]
file keywords Thu Jun 05 01:11:58 -0700 2008 merge with ruby trunk r16762 + better/faster ob... [lsansonetti@apple.com]
file lex.c.blt Thu Jun 05 01:11:58 -0700 2008 merge with ruby trunk r16762 + better/faster ob... [lsansonetti@apple.com]
file lex.c.src Thu Jun 05 01:11:58 -0700 2008 merge with ruby trunk r16762 + better/faster ob... [lsansonetti@apple.com]
file lgamma_r.c Wed Mar 11 14:14:13 -0700 2009 committing experimental branch content git-svn... [lsansonetti@apple.com]
directory lib/ Tue Feb 09 15:26:12 -0800 2010 Dispatch::Future#new should take a priority gi... [ernest.prabhakar@gmail.com]
file llvm.h Mon Dec 14 17:42:46 -0800 2009 emit dwarf metadata at compilation time and use... [lsansonetti@apple.com]
file load.c Mon Feb 08 16:27:14 -0800 2010 revert bad change introduced by thibault git-s... [lsansonetti@apple.com]
file main.cpp Tue Jan 19 17:54:14 -0800 2010 Added 2010 Copyrights git-svn-id: http://svn.m... [ernest.prabhakar@gmail.com]
file markgc.c Tue Jan 19 17:54:14 -0800 2010 Added 2010 Copyrights git-svn-id: http://svn.m... [ernest.prabhakar@gmail.com]
file marshal.c Tue Feb 09 22:38:36 -0800 2010 cleaning a bit public headers, added support fo... [lsansonetti@apple.com]
file math.c Tue Aug 25 18:35:19 -0700 2009 introduce rb_objc_define_module_function() whic... [lsansonetti@apple.com]
directory misc/ Fri Jan 15 17:41:23 -0800 2010 do not load rb_main.rb twice (second try) git-... [lsansonetti@apple.com]
directory mspec/ Sun Jan 10 12:53:10 -0800 2010 Updated MSpec to ddf4bd5a4c29e36caad2504749a7bf... [eloy.de.enige@gmail.com]
file numeric.c Tue Jan 26 15:18:08 -0800 2010 fixnum and float boxes must honor -copyWithZone... [lsansonetti@apple.com]
file objc.h Tue Feb 09 22:38:36 -0800 2010 cleaning a bit public headers, added support fo... [lsansonetti@apple.com]
file objc.m Mon Feb 08 01:10:54 -0800 2010 get rid of bad allocas, disable frame pointer e... [lsansonetti@apple.com]
file object.c Sat Feb 06 20:51:44 -0800 2010 completed Array refactoring, cleaned out a few ... [lsansonetti@apple.com]
directory onig/ Tue Oct 20 17:17:32 -0700 2009 do not leak some internal hash tables git-svn-... [lsansonetti@apple.com]
file pack.c Thu Oct 01 00:35:10 -0700 2009 another Array#pack bug fix by Ninh Bui(Phusion)... [mattaimonetti@gmail.com]
file parse.y Sun Nov 29 19:18:46 -0800 2009 start tagging non-RObject classes to not use iv... [lsansonetti@apple.com]
file prec.c Wed Mar 11 14:14:13 -0700 2009 committing experimental branch content git-svn... [lsansonetti@apple.com]
file prelude.rb Sun May 18 01:10:19 -0700 2008 sync with ruby trunk r15665 git-svn-id: http:/... [lsansonetti@apple.com]
file proc.c Tue Feb 09 22:38:36 -0800 2010 cleaning a bit public headers, added support fo... [lsansonetti@apple.com]
file process.c Tue Feb 02 15:38:47 -0800 2010 Put an rb_notimplement() in check_exec_redirect... [pthomson@apple.com]
directory rakelib/ Sat Feb 06 20:51:44 -0800 2010 completed Array refactoring, cleaned out a few ... [lsansonetti@apple.com]
file random.c Mon Nov 16 11:02:11 -0800 2009 Fixed Kernel#rand(nil) random float generation ... [lsansonetti@apple.com]
file range.c Sat Feb 06 20:51:44 -0800 2010 completed Array refactoring, cleaned out a few ... [lsansonetti@apple.com]
file rational.c Sat Aug 01 19:00:15 -0700 2009 adding some TODOs git-svn-id: http://svn.macos... [lsansonetti@apple.com]
file re.c Sat Feb 06 20:51:44 -0800 2010 completed Array refactoring, cleaned out a few ... [lsansonetti@apple.com]
file ruby.1 Sun May 18 01:10:19 -0700 2008 sync with ruby trunk r15665 git-svn-id: http:/... [lsansonetti@apple.com]
file ruby.c Sat Jan 16 20:37:52 -0800 2010 experimental debugger git-svn-id: http://svn.m... [lsansonetti@apple.com]
file rubyc.1 Fri Dec 18 17:49:41 -0800 2009 Typo in rubyc man page git-svn-id: http://svn.... [ernest.prabhakar@gmail.com]
file rubytest.rb Mon Feb 25 12:18:21 -0800 2008 initial import git-svn-id: http://svn.macosfor... [lsansonetti@apple.com]
file runruby.rb Mon Feb 25 12:18:21 -0800 2008 initial import git-svn-id: http://svn.macosfor... [lsansonetti@apple.com]
directory sample-macruby/ Tue Feb 09 15:25:06 -0800 2010 Added serial version of ring_buffer to gcd samp... [ernest.prabhakar@gmail.com]
directory sample/ Wed Mar 11 14:14:13 -0700 2009 committing experimental branch content git-svn... [lsansonetti@apple.com]
file signal.c Tue Jan 26 06:18:47 -0800 2010 - Some beginning to signal handling. It is not... [martinlagardette@apple.com]
directory spec/ Tue Feb 09 22:38:36 -0800 2010 cleaning a bit public headers, added support fo... [lsansonetti@apple.com]
file sprintf.cpp Mon Feb 08 01:10:54 -0800 2010 get rid of bad allocas, disable frame pointer e... [lsansonetti@apple.com]
file st.c Wed Jan 20 15:49:09 -0800 2010 introduce RubyHash, fix a lot of minor bugs, st... [lsansonetti@apple.com]
file string.c Fri Feb 05 17:19:30 -0800 2010 this method cannot be inlined (thanks Jordan) ... [lsansonetti@apple.com]
file struct.c Wed Jan 20 15:49:09 -0800 2010 introduce RubyHash, fix a lot of minor bugs, st... [lsansonetti@apple.com]
directory test-macruby/ Mon Mar 16 14:30:13 -0700 2009 Removed the half implemented RubyCocoa layer fo... [eloy.de.enige@gmail.com]
directory test/ Mon Sep 14 10:15:13 -0700 2009 Added Rake to the list of external libraries to... [eloy.de.enige@gmail.com]
file test_vm.rb Tue Dec 22 17:57:40 -0800 2009 Fixed a few test_vm tests that were incorrect (... [vincent.isambart@gmail.com]
directory test_vm/ Tue Feb 09 14:42:43 -0800 2010 added some TLC tests git-svn-id: http://svn.ma... [lsansonetti@apple.com]
file thread.c Mon Feb 08 16:44:23 -0800 2010 don't always assume that a thread as a group g... [lsansonetti@apple.com]
file time.c Wed Jan 20 15:49:09 -0800 2010 introduce RubyHash, fix a lot of minor bugs, st... [lsansonetti@apple.com]
directory tool/ Tue Jan 26 16:14:31 -0800 2010 Added tool for auto-installing latest nightly ... [ernest.prabhakar@gmail.com]
file transcode.c Mon Mar 30 16:42:49 -0700 2009 fixed the build (sorry guys) git-svn-id: http:... [lsansonetti@apple.com]
file transcode_data.h Mon Feb 25 12:18:21 -0800 2008 initial import git-svn-id: http://svn.macosfor... [lsansonetti@apple.com]
file util.c Thu Jul 30 23:46:57 -0700 2009 various unicode/bytestring fixes git-svn-id: h... [lsansonetti@apple.com]
file variable.c Tue Feb 09 22:38:36 -0800 2010 cleaning a bit public headers, added support fo... [lsansonetti@apple.com]
file version.c Mon Oct 19 16:38:40 -0700 2009 MACRUBY_VERSION is now a string git-svn-id: ht... [lsansonetti@apple.com]
file version.h Sat Jan 16 20:36:20 -0800 2010 trunk is now 0.6 git-svn-id: http://svn.macosf... [lsansonetti@apple.com]
file vm.cpp Tue Feb 09 22:38:36 -0800 2010 cleaning a bit public headers, added support fo... [lsansonetti@apple.com]
file vm.h Tue Feb 09 14:39:29 -0800 2010 when doing an assignment from thread X to threa... [lsansonetti@apple.com]
file vm_eval.c Fri Jan 22 18:45:37 -0800 2010 fix a const lookup bug in instance_eval, fix a ... [lsansonetti@apple.com]
file vm_method.c Tue Feb 09 22:38:36 -0800 2010 cleaning a bit public headers, added support fo... [lsansonetti@apple.com]
README.rdoc

MacRuby

MacRuby is a Ruby implementation based on Mac OS X technologies, such as the Objective-C runtime and garbage collector, the CoreFoundation framework and the LLVM compiler infrastructure.

It is the goal of MacRuby to enable the creation of full-fledged Mac OS X applications which do not sacrifice performance in order to enjoy the benefits of using Ruby.

MacRuby is copyrighted free software by Apple Inc and covered by the terms of the Ruby license. Please refer to the COPYING file for more information.

The project website contains more documentation, such as tutorials and guides: macruby.org

Requirements

  • An Intel machine. PowerPC machines are not supported anymore, but may still work. An Intel 64-bit machine (Intel Core Duo 2) is recommended.
  • Mac OS X 10.5.6 or later.
  • LLVM ToT, compiled for both i386 and x86_64.

    LLVM is a moving target and breaks periodically. We recommend to install revision 89156, being sure to specify the correct C and C++ compilers through environment variables.

      $ svn co -r 89156 https://llvm.org/svn/llvm-project/llvm/trunk llvm-trunk
      $ cd llvm-trunk
      $ env UNIVERSAL=1 UNIVERSAL_ARCH="i386 x86_64" CC=/usr/bin/gcc CXX=/usr/bin/g++ ./configure --enable-bindings=none --enable-optimized --with-llvmgccdir=/tmp
      $ env UNIVERSAL=1 UNIVERSAL_ARCH="i386 x86_64" CC=/usr/bin/gcc CXX=/usr/bin/g++ make
      $ sudo env UNIVERSAL=1 UNIVERSAL_ARCH="i386 x86_64" CC=/usr/bin/gcc CXX=/usr/bin/g++ make install
    

    Note that compiling LLVM can take quite a while. If you have a machine with multiple cores, which is quite likely, you might want to speed up the process by using all/more cores. However, doing this can make your machine unresponsive during compilation. To use multiple cores pass the `-j N’ option, where `N’ stands for the number of cores you’d like to use. So for a Core Duo the command would look like:

      $ UNIVERSAL=1 UNIVERSAL_ARCH="i386 x86_64" ENABLE_OPTIMIZED=1 make -j2
    

Build Instructions

You can build MacRuby by doing the following command:

  $ rake

Or, as with LLVM, you can specify the amount of jobs to run simultaneously:

  $ rake jobs=2

Once done, you can run the RubySpec-based regression tests as well as the performance suite:

  $ rake spec:ci
  $ rake bench:ci

To install MacRuby on your machine:

  $ sudo rake install

Then you should be all set! Please report us any problem you will find (the macruby.org website has pointers). Thanks!

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server