Module record

Module record 

Source
Expand description

Mapping between CanonicalMemory and its on-disk OKF representation.

This is the only place that knows the file format. Everything else in the engine works with the domain type, so changing the serialization is a local edit rather than a sweep.

Constants§

OKF_VERSION
The format version written into every record.

Functions§

from_document
Parse an OKF document back into a canonical memory.
to_document
Render a canonical memory as an OKF document.