import type { Subsection } from "#types/document.types"; import { keywordsOf } from "#core/converters/grammar.converter"; export const ACTION_SUBSECTION: Subsection = { blocks: [keywordsOf("action")], content: "The verbs a directive opens with inside a node's transform. Each grounds to a reasoning mode or a loop node, and the ones that name an effect lower to a semantic operation.", title: "Action keywords", }; export const OPERATION_SUBSECTION: Subsection = { blocks: [keywordsOf("semantic_operation")], content: "The semantic operations a document names for every external effect. One adapter per harness maps each to a tool, and the short tool forms an adapter accepts are its aliases, never the grammar's vocabulary.", title: "Semantic operations", }; export const NODE_SUBSECTION: Subsection = { blocks: [keywordsOf("node")], content: "The tokens of the node form, the unit of a document: the header with its four-slot tag, the contract, the substrate stage the node's artifact comes to be at, and the slots and limits a document declares.", title: "Node keywords", }; export const TYPE_SUBSECTION: Subsection = { blocks: [keywordsOf("document_type")], content: "Keywords that define the document type in declarations (THIS {TYPE} {VERB} description).", title: "Document type keywords", }; export const DECLARATION_VERB_SUBSECTION: Subsection = { blocks: [keywordsOf("document_verb")], content: "Verbs used in document declarations.", title: "Document verbs", };