GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - MacRuby/MacRuby: MacRuby is an implementation of Ruby 1.9 directly on top of Mac OS X core technologies such as the Objective-C runtime and garbage collector, the LLVM compiler infrastructure and the Foundation and ICU frameworks.

BranchesTags
Open more actions menu

Latest commit

 

History

6,103 Commits
6,103 Commits

Folders and files

NameName
Last commit message
Last commit date
bin
bin
 
 
ext
ext
 
 
framework
framework
 
 
icu-1060/unicode
icu-1060/unicode
 
 
include
include
 
 
lib
lib
 
 
misc
misc
 
 
mspec
mspec
 
 
perf
perf
 
 
plblockimp
plblockimp
 
 
rakelib
rakelib
 
 
sample-macruby
sample-macruby
 
 
sample
sample
 
 
spec
spec
 
 
test-macruby
test-macruby
 
 
test-mri
test-mri
 
 
test_vm
test_vm
 
 
tool
tool
 
 
.document
.document
 
 
.gdbinit
.gdbinit
 
 
.gitignore
.gitignore
 
 
BSDL
BSDL
 
 
COPYING
COPYING
 
 
ChangeLog.markdown
ChangeLog.markdown
 
 
GPL
GPL
 
 
HACKING.rdoc
HACKING.rdoc
 
 
LEGAL
LEGAL
 
 
LGPL
LGPL
 
 
MacRuby.m
MacRuby.m
 
 
MacRubyDebuggerConnector.h
MacRubyDebuggerConnector.h
 
 
MacRubyDebuggerConnector.m
MacRubyDebuggerConnector.m
 
 
NSArray.m
NSArray.m
 
 
NSDictionary.m
NSDictionary.m
 
 
NSString.m
NSString.m
 
 
README.rdoc
README.rdoc
 
 
Rakefile
Rakefile
 
 
TODO
TODO
 
 
array.c
array.c
 
 
array.h
array.h
 
 
auto_zone_1060.h
auto_zone_1060.h
 
 
b.rb
b.rb
 
 
bignum.c
bignum.c
 
 
bridgesupport.cpp
bridgesupport.cpp
 
 
bridgesupport.h
bridgesupport.h
 
 
bs.c
bs.c
 
 
bs.h
bs.h
 
 
bs_lex.h
bs_lex.h
 
 
bs_struct_readers.c
bs_struct_readers.c
 
 
class.c
class.c
 
 
class.h
class.h
 
 
compar.c
compar.c
 
 
compiler.cpp
compiler.cpp
 
 
compiler.h
compiler.h
 
 
complex.c
complex.c
 
 
cont.c
cont.c
 
 
debugger.cpp
debugger.cpp
 
 
debugger.h
debugger.h
 
 
dir.c
dir.c
 
 
dispatcher.cpp
dispatcher.cpp
 
 
distruby.rb
distruby.rb
 
 
dln.c
dln.c
 
 
dln.h
dln.h
 
 
dmydln.c
dmydln.c
 
 
dmyencoding.c
dmyencoding.c
 
 
dmyext.c
dmyext.c
 
 
dmytranscode.c
dmytranscode.c
 
 
dtrace.d
dtrace.d
 
 
encoding.c
encoding.c
 
 
encoding.h
encoding.h
 
 
encoding_ucnv.h
encoding_ucnv.h
 
 
enum.c
enum.c
 
 
enumerator.c
enumerator.c
 
 
env.c
env.c
 
 
error.c
error.c
 
 
eval.c
eval.c
 
 
eval_error.c
eval_error.c
 
 
eval_jump.c
eval_jump.c
 
 
eval_safe.c
eval_safe.c
 
 
exported_symbols_list
exported_symbols_list
 
 
file.c
file.c
 
 
gc-stub.m
gc-stub.m
 
 
gc.c
gc.c
 
 
gcd.c
gcd.c
 
 
gcd.h
gcd.h
 
 
gen_bs_struct_readers.rb
gen_bs_struct_readers.rb
 
 
golf_prelude.rb
golf_prelude.rb
 
 
hash.c
hash.c
 
 
hash.h
hash.h
 
 
id.c
id.c
 
 
id.h
id.h
 
 
inits.c
inits.c
 
 
interpreter.cpp
interpreter.cpp
 
 
interpreter.h
interpreter.h
 
 
io.c
io.c
 
 
irb.1
irb.1
 
 
kernel.c
kernel.c
 
 
keywords
keywords
 
 
lex.c.blt
lex.c.blt
 
 
lex.c.src
lex.c.src
 
 
lgamma_r.c
lgamma_r.c
 
 

Repository files navigation

MacRuby

Note: Due to Apple’s abandonment of the Objective-C Garbage Collector (libauto) which MacRuby relied heavily on, future development of MacRuby is on an indefinite hiatus. If you would like to develop applications for iOS and OS X please check out RubyMotion, the spiritual successor to the MacRuby project.

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 the MacRuby team 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 64-bit machine. PowerPC and Intel 32-bit machines are not supported anymore, but may still work.

  • Mac OS X 10.6 or later.

  • LLVM ToT, compiled for x86_64.

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

    $ svn co https://llvm.org/svn/llvm-project/llvm/branches/release_29@127367 llvm-2.9
    $ cd llvm-2.9
    $ env CC=/usr/bin/gcc CXX=/usr/bin/g++ ./configure --enable-bindings=none --enable-optimized --with-llvmgccdir=/tmp
    $ env CC=/usr/bin/gcc CXX=/usr/bin/g++ make
    $ sudo env 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:

    $ env CC=/usr/bin/gcc CXX=/usr/bin/g++ make -j2

    If you would prefer to update an existing LLVM Subversion working copy you need to be careful to remove any previous build files before you compile:

    $ svn status --no-ignore | awk '{print $2}' | xargs rm -rf
    $ svn revert -R .
    $ svn switch <repository-URL>

Note for using Xcode 4.3 (or later)

If you use the Xcode 4.3 (or later), you might need to configure Xcode path before installing MacRuby:

$ sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer/

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 # --quiet

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

Contribute

Once you’ve made your great commits:

  1. Fork MacRuby

  2. Create a topic branch - git checkout -b my_branch

  3. Push to your branch - git push origin my_branch

  4. Create a pull request: github.com/USERNAME/MacRuby/pull/new/master

  5. That’s it!

About

MacRuby is an implementation of Ruby 1.9 directly on top of Mac OS X core technologies such as the Objective-C runtime and garbage collector, the LLVM compiler infrastructure and the Foundation and ICU frameworks.

www.macruby.org

Resources

Readme
License
Activity
Custom properties

Stars

1.8k stars

Watchers

86 watching

Forks

188 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.