A ruby implementation of the Ook! language

Here is a simple Ruby implementation of an interpreter for the Ook! language by David Morgan-Mar.

I did not put this implementation on RubyGems nor GitHub since there already several such implementations that are probably much better than mine.


The interpreter is used as follows:

ook.rb <Ook! program file>

The user manual of the language can be displayed by executing the documentation.ook Ook! program as follows:

ook.rb documentation.ook


The interpreter and a few sample Ook! programs can be downloaded from the following link:

Source code

The source code of ook.rb is the following:

Sample Ook! program

Here is the source code of documentation.ook: