Expand description
Declarative VibeScript geometry and topology complex parser and capability lowerer.
Implements §6 of the POET Geometry-Topology Complex architecture (“Geometries Harbour Many Graphs”):
geometry <Name> : <ComplexKind> { ... graph <G> : <Morphology> { ... } }- Standalone
topology <Name> : <Morphology> { ... }syntactic sugar (desugars into a hostGeometryDeclof kindMetricPointCloud10Dharbouring a single primaryHarbouredGraphDeclatslot = 0). - Deterministic lowering to
Topology.define_geometry,Topology.harbour_graph, andPoet.topology_bind.
Structs§
- Boundary
Decl - Boundary source/sink degree predicates on a harboured graph (
boundary { sources: ...; sinks: ...; }). - Geometry
Decl - A declarative
geometry <Name> : <ComplexKind> { ... }harbouring $M \ge 1$ graphs. - Harboured
Graph Decl - A single
graph <Name> : <Morphology> { ... }harboured inside a hostGeometryDecl. - Topology
Invoke Descriptor - Deterministic
capability.invokecall descriptor lowered from aGeometryDecl.
Functions§
- parse_
geometry_ blocks - Parses all
geometryandtopologydeclarations in a VibeScript source snippet, skippingconstructor other items. - parse_
geometry_ or_ topology - Parses a single
geometry <Name> : <ComplexKind> { ... }or standalonetopology <Name> : <Morphology> { ... }.