#ooc
21 articles tagged #ooc. All tags
ooc generics and flawed designs
ooc is perhaps one of my proudest achievements, but at the same time it’s one of the most annoying thorns in my side. The main reason is that its design is flawed, and some things can’t be easily…
12 min
Fast font packing for fun and profit
Being creative is hard work, let’s go optimizing instead! My graphics engine dye was pretty naive about displaying text, and it was wasteful. Let’s see how I made it all better with this one weird…
11 min
The quest for ooc.vim
I’ve spent the past few weeks after rock 0.9.8’s release working on some of the neglected aspects of ooc, namely tooling support and performance. My kingdom for a vim plug-in! Well, technically…
5 min
rock 0.9.8 is out
A little less than two months after the previous release, I’m happy to announce that the ooc compiler rock 0.9.8, codename columbia is now out. The impatients can readily skip to the release notes…
10 min
And then there were fewer bugs
Intro. This deals with rock internals, so fasten your seatbelts and expect many weird things along the way. I’m not necessarily proud of the state of the implementation, I’m just rolling with it and…
13 min
rock 0.9.7 + new website
This is going to be a short one. Basically, since February, both shamanas, fredreichbier and I have putting way too much work into the latest iteration of rock, an ooc compiler written in ooc. I have…
2 min
sam 0.2.0 released
Today I decided to release sam 0.2.0. There are only a handful of new features in there but it’s still releaseworthy! See the previous sam announcement for more information on the tool itself. Source…
2 min
oocdoc, Part 4 — sourcepath
In the previous article, We’ve built a nagaqueen-based tool that can parse one ooc file, detect class declarations and print its doc strings. Today, we’re making a bit of infrastructure for our app…
5 min
oocdoc, Part 3 — parsing
In the previous article, I gave brummi a go. However, we’ve seen that it still doesn’t fit our requirements: we need a tool that’s fast, easy to install and configure, produces beautiful and usable…
7 min
The shortest ooc quine
A few days ago I posted an ooc quine. But while browing HackerNews, I found an even shorter one. The shortest! Here it is, in its full glory. Can’t see anything? That’s an empty file. It will compile…
1 min
An ooc quine
While preparing my next post about ooc documentation yet again, I stumbled upon an old ooc quine of mine. Here it is in integrality for your pleasure: q := 34 as Char. l := [. 'q := 34 as Char' 'l :=…
1 min
oocdoc, Part 2 — brummi
In the previous article, we saw how to use NaturalDocs, a language-agnostic documentation generator. Today we’ll see how to use brummi, a tool specific to ooc, written by Friedrich Weber. Generating…
2 min
oocdoc, Part 1 — NaturalDocs
Documentation in ooc land has sucked for quite some time. The standard response is pretty much: “use the code, Luke!” — which is fine when doing small projects that don’t matter much, but not so when…
4 min
rock 0.9.6 is on the loose!
Just 8 days after the last release, rock 0.9.6 is out. To update, run git pull && make rescue as usual. To install from scratch, clone the repo, cd into it, and run make rescue from there - it’ll…
9 min
Android development with rock 0.9.5
rock 0.9.5 is out! It’s the meanest, slimmest, baddest rock release yet. To update, run git pull && make rescue as usual. To install from scratch, clone the repo, cd into it, and run make rescue from…
7 min
sam, homebrew-mingw, etc.
I want to write blog posts, but right now I have too much to do. So instead, here are bullet points: I wrote an ooc tool named sam, which helps you keep your git repos up-to-date, and helps to remind…
2 min
Having fun with ooc
Unfortunately, the ooc language could have better documentation. In the meantime, I’d like to blog about about some features that might not be very well-known. Nested functions. Here’s a program that…
3 min
The perils of ooc arguments
The ooc language is known to be friendly to C libraries, and we have a slew of them covered on GitHub, but one common hurdle is how to correctly declare extern functions. Argument types. For an ooc…
3 min
Cross-platform game distribution
ooc makes it easy to compile your application on all major platforms (Windows, OSX, Linux) - the compiler itself runs there, and the SDK supports all these platforms with basic functionality: data…
19 min
Ludum Dare #25 Post-mortem
Last week-end, I participated to Ludum Dare for the fourth time in a row! Downloads: Linux (64) | OS/X | Windows. Story. So here is our entry: Legithief. The backstory is simple, yet cunning: you are…
15 min
AOT vs JIT: Why don't we do both?
I wanted to take some time to write about a piece of software I’ve been working on lately, just so you know how I’ve been spending the last few weeks. Rationale. A few years ago, I designed a…
9 min