Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
ooc compiler written in ooc

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
custom-sdk
docs
libs
source/rock
tests @ 103422f
utils
.gitignore
.gitmodules
AUTHORS
CHANGELOG
INSTALL
INSTALL.win32
LICENSE
Makefile
README.rst
rock.use

README.rst

rock

ooc http://ooc-lang.org
rock http://github.com/nddrylliog/rock

rock is an ooc compiler written in ooc - in other words, it's where things begin to become really exciting.

it has been bootstrapping since 2010-04-22 under Gentoo, Ubuntu, Arch Linux, Win32, OSX..

Install

See the INSTALL file

FAQ

Q: How did you bootstrap?
A: From Java: http://github.com/nddrylliog/ooc It was a lot of fun and frustration
Q: Do I need that j/ooc (java) version of the compiler to compile this?
A: No. Let it die. We distribute rock as C sources now. (Remember, ooc usually compiles down to C)
Q: If I don't need another ooc compiler to compile this one, how does it work? What does 'make bootstrap' do?
A: 'make bootstrap' builds a rock binary from the C sources in build/c-source, calls it bin/c_rock, and uses it to recompile itself to bin/rock
Q: I'm a naughty boy and I've read the Makefile. What does 'make prepare_bootstrap' do?
A: It uses rock to generate the build/ directory, with -driver=make. Yes, it's awesome.
Q: What platforms/OSes are supported?
A: It has been tested on Gentoo, Ubuntu, Windows XP (with Mingw32 and GCC 4.4), and OSX. 'make prepare_bootstrap' may be shaky on Windows/OSX because of sed syntax differences (used to patch the produced build/Makefile). You're better off preparing bootstrap on a Linux, just like we do for source releases.

License

rock is distributed under a BSD license, see LICENSE for details.

Something went wrong with that request. Please try again.