# configuration/strings/machine.strings.ts

> 32 lines of code and 5 definitions.

Tree: Site tree
Language: typescript
Layer: product
Canonical: https://banes-lab.com/anatomy/tree#file-configuration-strings-machine-strings-ts
Source text: https://banes-lab.com/assets/sources/source.fe6b20eca9a5ceced09f8b26b36a2e26ce3cf63b645eb4ac12f589827aec21ac.generated.txt

## Definitions

- `COORDINATION_SUBSECTION` (lexical_declaration, line 4, exported)
- `MACHINE_SUBSECTION` (lexical_declaration, line 11, exported)
- `DAG_SUBSECTION` (lexical_declaration, line 18, exported)
- `QUEUE_SUBSECTION` (lexical_declaration, line 25, exported)
- `FLOWCHART_SUBSECTION` (lexical_declaration, line 32, exported)

## Source

```typescript
import type { Subsection } from "#types/document.types";
import { keywordsOf } from "#core/converters/grammar.converter";

export const COORDINATION_SUBSECTION: Subsection = {
    blocks: [keywordsOf("coordination")],
    content:
        "A shared surface makes this structure explicit. It consists of the surface, its records, each with exactly one writer, the addressed items inside them, the typed edges between records, the states derived from those edges, the reader classes, and the one operation that posts and waits. The waiting, locking and retry tokens describe the same model from one party's turn.",
    title: "Coordination keywords",
};

export const MACHINE_SUBSECTION: Subsection = {
    blocks: [keywordsOf("state_machine")],
    content:
        "A state machine makes a lifetime explicit, meaning the states a thing can be in and the transitions that are legal between them. In a coordinated document a state is derived from the graph and never written, so the machine declares what may happen, not what has.",
    title: "State machine keywords",
};

export const DAG_SUBSECTION: Subsection = {
    blocks: [keywordsOf("dag")],
    content:
        "A dependency graph makes explicit what depends on what, as declared by the referent and never inferred from a name. The loop spine of a document is one such graph, and a repair edge is a back-edge on it.",
    title: "DAG keywords",
};

export const QUEUE_SUBSECTION: Subsection = {
    blocks: [keywordsOf("priority_queue")],
    content:
        "A priority queue makes a ranking explicit, with the candidates ordered by a declared worth. The branch ranking a worth gate emits is one, and a peek returns the selected branch.",
    title: "Priority queue keywords",
};

export const FLOWCHART_SUBSECTION: Subsection = {
    blocks: [keywordsOf("flowchart")],
    content:
        "A flowchart is the rendered projection of a declared structure. It shows a graph, a lifetime or a ranking to a reader, and it never carries a structure the document did not declare elsewhere.",
    title: "Flowchart keywords",
};
```
