The software stack

A stack for working with Prism files

The libraries are how you build on Prism. The software is how you work with Prism files directly: three programs that share one document model and cover the three ways data gets edited, in scripts, by agents, and by hand. Each has its own docs:

One document, three doors

The point of the stack is that the three tools share the same document model, reached three ways. A .prisma file you kinogaki check on the command line is the same Document the editor opens and the same Document the server hands an agent. An edit is an edit regardless of origin: the editor's panels, a kinogaki convert, and an agent's set_property call all go through one typed mutation surface, validated and undoable the same way.

kinogaki convert draft.md draft.prisma     # bring existing content in
kinogaki-server draft.prisma               # let an agent expand it…
kinogaki-editor draft.prisma               # …and watch, or edit alongside it
kinogaki pack ./project project.prism      # ship the whole thing as one file

At every step it is the same file: the typed model is identical, however you reach it. Pick a tool above for its full documentation.