goruby

From Esolang
Jump to navigation Jump to search

goruby is a modification of the ruby programming language to make it somewhat more suitable to code golf. It is implemented by the files goruby.c and golf_prelude.c which are distributed with the ruby source code. The most important changes to ruby are that it allows you to use abbreviated method names and finds the matching method automatically, puts Array's methods (such as join) to Enumerable, and makes integers Enumerable.