Crowbar central

A blog about the ooc language, with source code examples, updates on the state of the llama (our beloved mascot), and random thoughts by nddrylliog, the benevolent dictator for life of ooc.

The opinions expressed in this blog are not necessarily those of the whole ooc community.

Jun 13

The compiler is your friend

When you do something like:

main: func {
    blah := Process new("ls")
    blah execute() 
}

The compiler now tells you:

missingimport.ooc:4:13 [ERROR] Undefined symbol 'Process' (Hint: there's such a type in os/Process)
    blah := Process new("ls")
            ~~~~~~~          
[FAIL]

Neat, eh?