About rock
rock is the main ooc compiler. It parses ooc files using nagaqueen, does some checking and inference, produces .c files, and then drives the C compilation process to produce either an executable or a library.
-
The Basic usage section explains how to quickly get up and running, using rock to compile ooc projects.
-
The Drivers section gives an overview of rock’s various drivers, akin to compiling strategies, like the sequence driver (default), the make driver, and the android driver.
-
The Advanced usage section covers some less-often used options like using a different C compiler, keeping source files, etc.
-
The Usefiles section describes the format of
.use
files, which define the characteristics of an ooc app or library. -
The Garbage Collection section talks about the Garbage Collection strategy in rock, how to make sure things work well on different plaforms, how the Boehm GC is bundled, etc.
-
The Debugging section talks about what to do when a program doesn’t behave correctly. Debug symbols, stack traces, debugging on particularly painful platforms like Windows.
-
The Packaging section talks about releasing standalone applications coded in ooc, such as games — when you don’t want to have users install dependencies on their own, but would rather bundle everything together.