Programming with ooc

Welcome to the Programming with ooc book. This is the first comprehensive effort to cover the entirety of the ooc language, among with a collection of idioms, in order to allow the general public to discover the language.

About ooc


ooc is a modern, self-hosting, object-oriented, functional-ish, high-level, low-level sexy programming language, starring closures, interfaces, enums, garbage collection.. It strives to be powerful, modular, extensible, portable, yet simple and fast.

The main implementation ooc is rock, a self-hosting compiler which translates ooc sources to C source code, and then use a C compiler to produce an executable.

Getting Started
Where to get a compiler, how to compile the source, all answered here:


 * Basic ooc &mdash; Read Me First!
 * Finding and Installing ooc
 * Building an ooc program

Language Features

 * Control Structures
 * /Type System/
 * /Strings/
 * Modules and packages
 * /Input Output/
 * /Classes/
 * /Interfaces/
 * /Covers/
 * /Exceptions/
 * /Generics/
 * /Memory Management/
 * /Coding Standards/

External Resources

 * ooc-lang &mdash; official ooc website
 * crowbar central &mdash; everything ooc, the author's blog
 * mailing list &mdash; the ooc mailing list
 * rock &mdash; rock, an ooc compiler