An inherently safe code format for representing computer programs is
disclosed. The format provides incorruptible referential integrity and
uses type separation to achieve intrinsic type safety. The format
preserves a safety guarantee found in a source code language
representation of the computer program while the computer program
proceeds through various stages of the code compilation process.