Skip to content

onlyworlds 0.97.0

Choose a tag to compare

@github-actions github-actions released this 30 Oct 22:39
· 215 commits to main since this release
  • strand_of(world, reader), the strand profile's reader (schema-dist serial 98, profiles/strand.md). A strand is a world in miniature: one story, one of its happenings, where that happened, the story's hero and where the hero is now, read off four links the standard already has. The World's mark x_strand (STRAND_FIELD) is a mapping of three ids, {narrative, event, location}; any other shape is no mark. strand_of answers {narrative, event, location, character, now, same} as reader sees the world, each filled slot {id, name} and an empty one None: narrative is the marked Narrative; event the marked Event when it is in the story's events; location the marked Location when it is in that event's locations; character the story's protagonist; now the hero's location; same True when now and location are one place (compared by id), False when two, else None. A slot holds only its own kind, no list order is read, and no slot is filled from another. The world and the reader are resolve_lens's, so every slot is read through that reader's view and the bodies it is served: a story the reader knows only as a stub fills its own slot and nothing past it, and a public reader reads nothing of a world that is not open. Types Strand, StrandSlot. All 17 of the profile's fixture cases are the test; the npm SDK's strandOf answers the same.
  • The schema pin moves to schema-dist serial 98 (v0.33.0-dist.98), which adds the strand profile and its fixture. No schema file moved.