POLYTONE — the AI-native programming language

Registry v0

This site IS the registry (spec §25): the index lives at /registry/index.ptr, packages beside it — published by git push through the deploy chain. ptc vendor consults the index and fetches manifest + modules into vendor/; imports resolve local → vendor/ → stdlib. Before the push, ptc pack runs the publishing gate (since Sprint 50): strict manifest, fmt --check, a /// doc on every pub item, every test green — then it prints the exact index.ptr line to paste.

stdlib-core1.7.52built-in

Numbers, lists, and text helpers — the foundation every program leans on.

Modules: ints lists texts · ships with the toolchain
images1.7.52built-in

The .pti codec (v1 + v2: palettes, gradients, polygons), the drawing and processing toolkit, and the PPM bridge — in and out.

Modules: images · ships with the toolchain
audio1.7.52built-in

The .pta codec, a tracker-style synthesizer, the composition toolkit (ADSR, mixing), and the WAV bridge.

Modules: audio · ships with the toolchain
mesh1.7.52built-in

The .ptm codec: placed primitives and raw triangles, tessellated to meshes with an OBJ bridge.

Modules: mesh · ships with the toolchain
web1.7.52built-in

The .ptw codec (v2: inline media) and the escaping-by-construction HTML bridge with BMP embedding.

Modules: web · ships with the toolchain
video1.7.52built-in

The .ptv codec: scenes in the .pti grammar, a play/fade timeline, and the Y4M bridge.

Modules: video · ships with the toolchain
pkg1.7.52built-in

The polytone.pkg manifest decoder — this page and future tooling share it.

Modules: pkg · ships with the toolchain
imaging-extras0.1.0ptc vendor

The first third-party-shaped package: an outline/frame filter on top of the images toolkit — the vendoring example from the spec.

Modules: outline · ptc vendor https://polytone.lan-solo.com/registry imaging-extras
poster-tools0.1.0ptc vendor

The first package WITH a dependency: a poster effect built on imaging-extras — vendoring it pulls both, transitively, into vendor.lock.

Modules: posterize · ptc vendor https://polytone.lan-solo.com/registry poster-tools