Jump To …

cool.ooc

#
#

Welcome to the cool ooc tutorials. Apart from radiating its epic palindrome name, this series will cover ooc from beginner to advanced.

#

Before we get started, you’ll need a rock compiler and a text editor of your choice. I perfer to use TextMate, since there is a great ooc bundle available for it. Some other text editor plugins:

#

The quickest and easiest way to install rock is using the one-line installer.

#

For users with curl:

bash -c “curl -L http://ooc-lang.org/install.sh

with wget:

bash -c “wget -O - http://ooc-lang.org/install.sh

#

You can always compile it yourself:

  1. git clone http://github.com/nddrylliog/rock.git
  2. cd rock
  3. Download bootstrap source and extract into the rock directory. A folder called build should appear.
  4. make
  5. export ROCK_DIST=/path/to/rock
  6. export PATH=$ROCK_DIST/bin:$PATH

…and you’re good!

#

If the two methods above did not play nicely with you, you could always download a pre-compiled binary for your system. I recommend against doing so, especially when new features and changes are released quite often, and the binaries are not updated as frequently. Anyway, you can find them here.