Skip to content

Implement pscale coordinate parser — numbers as semantic addresses #7

@happyseaurchin

Description

@happyseaurchin

The Challenge

Pscale is a coordinate system where digits are pointers to meaning, not quantities. 321.45 means: 3→region, 2→building, 1→room, .4→corner, .5→object. Each digit position is a semantic scale level (~10× the previous).

We need a parser that can:

  • Parse pscale coordinate strings (e.g., T:321.45, S:-2.1, I:0.53)
  • Calculate proximity between two coordinates (same first digit = same region)
  • Determine containment (321 contains 321.4 contains 321.45)
  • Handle all three dimensions: Temporal (T), Spatial (S), Identity (I)

Why This Matters

The coordinate system IS the coordination protocol. Characters exist at pscale coordinates. Proximity determines who sees what. Containment determines narrative scope. Without this parser, nothing else works.

Architecture Reference

Technical Notes

  • TypeScript implementation
  • Should be a pure utility module (no React dependencies)
  • Proximity calculation: matching significant figures = same scope
  • The decimal point separates settled context (left) from active edge (right)

Labels

enhancement help wanted core architecture

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions