configuration/strings/verb.strings.ts

configuration/strings/verb.strings.ts is a file in Bane's Lab Site. 30 lines of code and 5 definitions.

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

export const ACTION_SUBSECTION: Subsection = {
    blocks: [keywordsOf("action")],
    content:
        "A directive inside a node's transform opens with one of these verbs. 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:
        "A document names one of the semantic operations for every external effect. One adapter per harness maps each operation 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:
        "These tokens make up the node form, which is the unit of a document. They cover the header with its four-slot tag, the contract, the substrate stage at which the node's artifact comes to be, and the slots and limits a document declares.",
    title: "Node keywords",
};

export const TYPE_SUBSECTION: Subsection = {
    blocks: [keywordsOf("document_type")],
    content: "These keywords name the document type in a declaration of the form THIS {TYPE} {VERB} description.",
    title: "Document type keywords",
};

export const DECLARATION_VERB_SUBSECTION: Subsection = {
    blocks: [keywordsOf("document_verb")],
    content: "These verbs follow the type in a document declaration.",
    title: "Document verbs",
};