pkg/

directory
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 10, 2026 License: Apache-2.0

Directories

Path Synopsis
ipm
config
Package config reads the per-repo `.ipm.conf` file shared between cmd/md-embed, cmd/ipm-rpc, and any other infinite.pm Go toolchain entry point.
Package config reads the per-repo `.ipm.conf` file shared between cmd/md-embed, cmd/ipm-rpc, and any other infinite.pm Go toolchain entry point.
log
Package log provides a thin convention layer on top of log/slog for the infinite.pm Go toolchain (cmd/md-embed, cmd/ipm-rpc, and the shared pkg/ipm/* packages).
Package log provides a thin convention layer on top of log/slog for the infinite.pm Go toolchain (cmd/md-embed, cmd/ipm-rpc, and the shared pkg/ipm/* packages).
lspos
Package lspos translates between three coordinate systems used in language-server work:
Package lspos translates between three coordinate systems used in language-server work:
validate
Package validate runs semantic checks on a parsed IpmGraph, surfacing modelling problems the parser does not enforce.
Package validate runs semantic checks on a parsed IpmGraph, surfacing modelling problems the parser does not enforce.
Package ipmtext serializes a model.IpmGraph back to canonical ipmt text — the inverse of ipm-tools' ipmt parser.
Package ipmtext serializes a model.IpmGraph back to canonical ipmt text — the inverse of ipm-tools' ipmt parser.
Package ipmtmeta defines the ipmt processing-pipeline flag vocabulary and the `# ipmt:` first-line pragma, and reconciles the two carriers of that metadata:
Package ipmtmeta defines the ipmt processing-pipeline flag vocabulary and the `# ipmt:` first-line pragma, and reconciles the two carriers of that metadata:
Package ipmtokens runs the ipmt semantic tokenizer used by both the LSP server (cmd/ipm-rpc) and the md-html exporter (pkg/mdhtml).
Package ipmtokens runs the ipmt semantic tokenizer used by both the LSP server (cmd/ipm-rpc) and the md-html exporter (pkg/mdhtml).
Package l7report narrates layout7's decision trace (docs/dev/layout-gen/layout-debug.md): the engine emits structured TraceEvents through its one seam (layout7.Trace); this package collects them and renders the human-readable views — Text for the terminal (`layout-debug --why`) and Explain for the narrated pipeline-ordered report (`layout-explain`).
Package l7report narrates layout7's decision trace (docs/dev/layout-gen/layout-debug.md): the engine emits structured TraceEvents through its one seam (layout7.Trace); this package collects them and renders the human-readable views — Text for the terminal (`layout-debug --why`) and Explain for the narrated pipeline-ordered report (`layout-explain`).
Package layout generates positioned graph layouts from IPM documents.
Package layout generates positioned graph layouts from IPM documents.
Package layout7 is the v7 layout engine: an implementation of the nine layout principles specified in gl:docs/dev/layout-gen/layout-principles.md (v7P1–v7P9).
Package layout7 is the v7 layout engine: an implementation of the nine layout principles specified in gl:docs/dev/layout-gen/layout-principles.md (v7P1–v7P9).
Package layoutcheck holds the UNIVERSAL visual invariants a layout must satisfy no matter its shape — node boxes must not overlap, a routed edge must not cut through or graze a box it is not connected to, edges must not cross/cover, stub badges and chips must keep clear of boxes, and unrelated boxes must not sit at band rhythm so they read as paired.
Package layoutcheck holds the UNIVERSAL visual invariants a layout must satisfy no matter its shape — node boxes must not overlap, a routed edge must not cut through or graze a box it is not connected to, edges must not cross/cover, stub badges and chips must keep clear of boxes, and unrelated boxes must not sit at band rhythm so they read as paired.
Package mdembed implements the marker grammar, hash normalization, and SVG metadata embedding shared between cmd/md-embed and any other tool that needs to read or write in-place ipmt rendering markers in Markdown.
Package mdembed implements the marker grammar, hash normalization, and SVG metadata embedding shared between cmd/md-embed and any other tool that needs to read or write in-place ipmt rendering markers in Markdown.
Package mdhtml exports `.md` → `.html` for ipmt-rich docs.
Package mdhtml exports `.md` → `.html` for ipmt-rich docs.
Package nodehints defines per-node rendering hints consumed by the SVG generators (pkg/ipmsvg).
Package nodehints defines per-node rendering hints consumed by the SVG generators (pkg/ipmsvg).
Package nodekind resolves the event/thing/concept kind of every node and emits an ipm-oriented node+edge graph.
Package nodekind resolves the event/thing/concept kind of every node and emits an ipm-oriented node+edge graph.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL