From GNUstepWiki
Jump to navigation Jump to search

RIGS stands for "Ruby Interface to GNUstep" and is library that allows programmers to develop GNUstep applications using the remarkable Ruby language.

Current Version: 0.2.2

  • Released: Feb 24, 2005
  • Licensed: LGPL / GPL


Ruby is a remarkably well designed OO scripting language written by Yukihiro Matsumoto (a.k.a. Matz). Ruby has taken the best of many modern languages (Perl regexp, Eiffel syntax, SmallTalk pure OO approach, Objective C categories and protocols) and put them together. The result is a fast and lightweight interpreted scripting language for quick and easy object-oriented programming.


There are a number of features in RIGS that makes programmers life easier: Ruby strings are automatically mapped on GNUstep strings and vice-versa. The same applies for Ruby numbers and Objective C NSNumbers.

Another interesting feature that is worth mentionning is that RIGS is entirely dynamic. It means that RIGS interact with the Objective C runtime to automatically discover the classes and methods available in the version of GNUstep base and gui libraries installed on your machine. So there is no need to recompile RIGS each time a GNUstep method has been modified. Similarly you can require your own Objective C libraries on the fly in Ruby and immediately get all the classes/methods available.


Related Links