Skip to content

Latest commit

 

History

History

libo

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Onramp Utility Library

libo is a small library of common code used in the implementation of the Onramp compiler toolchain. It is written in two stages:

  • 0-oo is written directly in object code. It contains some common error-handling code like fatal() and a few utilities like fputd() and fnv1a_cstr().

  • 1-opc is written in Onramp Practical C (opC). It adds a source file stack, a hash table, a string container, and so on.

Virtually all Onramp core programs link against this library.

libo is not built incrementally like libc. The second stage fully replaces the first (but is backwards compatible with it.)