0x0LearnReferenceLibrariesMigration0x0.jmp0x1b.com

0x0 Package System Reference

This public reference describes the current local package system.

Current Scope

0x0 has a local manifest and lockfile system. It is not a network registry,

dependency solver, or remote package fetcher.

Current files:

Manifest Directives

Supported directives:


package <name>
version <version>
source <path>
dep <name> <path>

Rules:

Lockfile

The lockfile records deterministic manifest resolution. Package imports read

0x0.lock, not the manifest text directly.

Package Imports


(↥ "pkg:core-map")

If core-map is present in 0x0.lock, the compiler loads the mapped local

source path. If not, compilation fails with a package dependency diagnostic.

Standalone Libraries

The public standalone library contract is completed in Milestone 4. Until then,

public libraries should keep the conventional structure:


libs/<name>/src/lib.0x0
libs/<name>/tests/smoke.0x0

Safe Commands

Use:


make package-check

Only run broad library compilation or standalone checks when the host can safely

absorb the compiler workload.