paragram.dev
A composition system for developers. Paragram parses ordinary paragraphs into typed diagrams, treating structure as a first-class artefact of writing. Every sentence has a shape; every shape has an address on the grid.
Prose has architecture.
Engineers already write in structures — protocols, schemas, requirements, change-logs — yet they encode them as flat text. Paragram reads the paragraphs you would write anyway and renders the latent diagram beneath them.
The argument is editorial: a clear structure is a clear claim. A blurry paragraph is a blurry diagram. Paragram makes the second visible so the first becomes correctable.
- InputMarkdown, plain text
- OutputTyped diagrams (SVG, DOT)
- Grammar12-token Swiss schema
- ModeEditor · CLI · Library
- LicenseMIT, source-available
A 12-column grammar.
Paragram lays sentences on a fixed 12-column reading grid. Subjects, predicates, and modifiers are placed by column; the grid does double duty as parser and as page.
- G.01 Subject cols 1–3 Anchors the clause; left-aligned, weight 700.
- G.02 Predicate cols 4–8 The verb of the diagram; the through-line.
- G.03 Object cols 9–12 Resolves the clause; right-aligned mass.
- G.04 Modifier cols 2–11 Spans secondary; smaller scale, caption gray.
- G.05 Aside col 1 / col 12 Marginalia in the gutter, never centered.
Read like prose, parse like protocol.
A paragram source file is ordinary text. Annotations are terse: a colon binds a label, an arrow asserts a relation, a dotted leader expresses correspondence between terms.
The notation is intentionally austere. There are five marks, no more. Anything that cannot be said in five marks is, by policy, not yet a structure.
01subject : Paragram 02claim : prose has architecture 03 04paragraph --> diagram 05diagram --> decision 06 07note. [!] the gutter is reserved.
Four shapes, exhaustively.
Where to look.
- 01 Premisep. 002
- 02 Systemp. 006
- 03 Notationp. 011
- 04 Diagramsp. 017
- 05 Indexp. 024
- A1 Grammar Tableapp. A
- A2 Diagram Atlasapp. B
- A3 Reserved Marksapp. C
- A4 Editor Bindingsapp. D
- A5 Bibliographyapp. E