{
  "content": {
    "icon": "bi-code-square",
    "id": "pag-keywords-declaration",
    "intro": "Every PAG keyword record, with what grounds it and how it is checked.",
    "subsections": [
      {
        "blocks": [
          {
            "entries": [
              {
                "description": "Variable assignment",
                "term": "Meaning"
              },
              {
                "description": "SET name = value",
                "term": "Example"
              },
              {
                "description": "[representation:symbolic](/records/reasoning/representation-symbolic)",
                "term": "Grounds"
              }
            ],
            "kind": "glossary"
          },
          {
            "kind": "text",
            "text": "How it is checked"
          },
          {
            "entries": [
              {
                "description": "a structured-document validator that parses each document against the grammar and reports every defect by its shape",
                "term": "Checked by"
              },
              {
                "description": "Every agent and template document the validator walks, and every occurrence of the keyword in them",
                "term": "Population"
              },
              {
                "description": "A verdict stands until the grammar data or a document that uses the keyword changes",
                "term": "Freshness"
              },
              {
                "description": "The validation stage fails the gate on any defect code, so a document with a malformed keyword does not ship",
                "term": "Refusal"
              },
              {
                "description": "None, because a keyword is static text in a document, and nothing observes it while a run executes",
                "term": "Observation"
              },
              {
                "description": "Watched to fire and to accept: a suite plants a retired head in a real template and validates every agent and template on disk clean",
                "term": "Evidence"
              },
              {
                "description": "The grammar data, which every keyword in a document conforms to",
                "term": "Authoritative side"
              },
              {
                "description": "Not answered",
                "term": "Depends on"
              },
              {
                "description": "Not answered",
                "term": "Shape it refuses"
              }
            ],
            "kind": "glossary"
          }
        ],
        "id": "pag-keyword-set",
        "title": "SET"
      },
      {
        "blocks": [
          {
            "entries": [
              {
                "description": "Typed declaration",
                "term": "Meaning"
              },
              {
                "description": "DECLARE x: string",
                "term": "Example"
              },
              {
                "description": "[representation:symbolic](/records/reasoning/representation-symbolic)",
                "term": "Grounds"
              }
            ],
            "kind": "glossary"
          },
          {
            "kind": "text",
            "text": "How it is checked"
          },
          {
            "entries": [
              {
                "description": "a structured-document validator that parses each document against the grammar and reports every defect by its shape",
                "term": "Checked by"
              },
              {
                "description": "Every agent and template document the validator walks, and every occurrence of the keyword in them",
                "term": "Population"
              },
              {
                "description": "A verdict stands until the grammar data or a document that uses the keyword changes",
                "term": "Freshness"
              },
              {
                "description": "The validation stage fails the gate on any defect code, so a document with a malformed keyword does not ship",
                "term": "Refusal"
              },
              {
                "description": "None, because a keyword is static text in a document, and nothing observes it while a run executes",
                "term": "Observation"
              },
              {
                "description": "Watched to fire and to accept: a suite plants a retired head in a real template and validates every agent and template on disk clean",
                "term": "Evidence"
              },
              {
                "description": "The grammar data, which every keyword in a document conforms to",
                "term": "Authoritative side"
              },
              {
                "description": "Not answered",
                "term": "Depends on"
              },
              {
                "description": "Not answered",
                "term": "Shape it refuses"
              }
            ],
            "kind": "glossary"
          }
        ],
        "id": "pag-keyword-declare",
        "title": "DECLARE"
      },
      {
        "blocks": [
          {
            "entries": [
              {
                "description": "Constant definition",
                "term": "Meaning"
              },
              {
                "description": "DEFINE PI = 3.14",
                "term": "Example"
              },
              {
                "description": "[representation:symbolic](/records/reasoning/representation-symbolic)",
                "term": "Grounds"
              },
              {
                "description": "[DEFINES](/records/pag/keyword-defines): DEFINE declares a constant inside a document, while DEFINES is the verb a document header uses to state what the document specifies.",
                "term": "Distinct from"
              }
            ],
            "kind": "glossary"
          },
          {
            "kind": "text",
            "text": "How it is checked"
          },
          {
            "entries": [
              {
                "description": "a structured-document validator that parses each document against the grammar and reports every defect by its shape",
                "term": "Checked by"
              },
              {
                "description": "Every agent and template document the validator walks, and every occurrence of the keyword in them",
                "term": "Population"
              },
              {
                "description": "A verdict stands until the grammar data or a document that uses the keyword changes",
                "term": "Freshness"
              },
              {
                "description": "The validation stage fails the gate on any defect code, so a document with a malformed keyword does not ship",
                "term": "Refusal"
              },
              {
                "description": "None, because a keyword is static text in a document, and nothing observes it while a run executes",
                "term": "Observation"
              },
              {
                "description": "Watched to fire and to accept: a suite plants a retired head in a real template and validates every agent and template on disk clean",
                "term": "Evidence"
              },
              {
                "description": "The grammar data, which every keyword in a document conforms to",
                "term": "Authoritative side"
              },
              {
                "description": "Not answered",
                "term": "Depends on"
              },
              {
                "description": "Not answered",
                "term": "Shape it refuses"
              }
            ],
            "kind": "glossary"
          }
        ],
        "id": "pag-keyword-define",
        "title": "DEFINE"
      },
      {
        "blocks": [
          {
            "entries": [
              {
                "description": "Local binding",
                "term": "Meaning"
              },
              {
                "description": "LET temp = expr",
                "term": "Example"
              },
              {
                "description": "[representation:symbolic](/records/reasoning/representation-symbolic)",
                "term": "Grounds"
              }
            ],
            "kind": "glossary"
          },
          {
            "kind": "text",
            "text": "How it is checked"
          },
          {
            "entries": [
              {
                "description": "a structured-document validator that parses each document against the grammar and reports every defect by its shape",
                "term": "Checked by"
              },
              {
                "description": "Every agent and template document the validator walks, and every occurrence of the keyword in them",
                "term": "Population"
              },
              {
                "description": "A verdict stands until the grammar data or a document that uses the keyword changes",
                "term": "Freshness"
              },
              {
                "description": "The validation stage fails the gate on any defect code, so a document with a malformed keyword does not ship",
                "term": "Refusal"
              },
              {
                "description": "None, because a keyword is static text in a document, and nothing observes it while a run executes",
                "term": "Observation"
              },
              {
                "description": "Watched to fire and to accept: a suite plants a retired head in a real template and validates every agent and template on disk clean",
                "term": "Evidence"
              },
              {
                "description": "The grammar data, which every keyword in a document conforms to",
                "term": "Authoritative side"
              },
              {
                "description": "Not answered",
                "term": "Depends on"
              },
              {
                "description": "Not answered",
                "term": "Shape it refuses"
              }
            ],
            "kind": "glossary"
          }
        ],
        "id": "pag-keyword-let",
        "title": "LET"
      },
      {
        "blocks": [
          {
            "entries": [
              {
                "description": "Immutable value",
                "term": "Meaning"
              },
              {
                "description": "CONST MAX = 100",
                "term": "Example"
              },
              {
                "description": "[representation:symbolic](/records/reasoning/representation-symbolic)",
                "term": "Grounds"
              }
            ],
            "kind": "glossary"
          },
          {
            "kind": "text",
            "text": "How it is checked"
          },
          {
            "entries": [
              {
                "description": "a structured-document validator that parses each document against the grammar and reports every defect by its shape",
                "term": "Checked by"
              },
              {
                "description": "Every agent and template document the validator walks, and every occurrence of the keyword in them",
                "term": "Population"
              },
              {
                "description": "A verdict stands until the grammar data or a document that uses the keyword changes",
                "term": "Freshness"
              },
              {
                "description": "The validation stage fails the gate on any defect code, so a document with a malformed keyword does not ship",
                "term": "Refusal"
              },
              {
                "description": "None, because a keyword is static text in a document, and nothing observes it while a run executes",
                "term": "Observation"
              },
              {
                "description": "Watched to fire and to accept: a suite plants a retired head in a real template and validates every agent and template on disk clean",
                "term": "Evidence"
              },
              {
                "description": "The grammar data, which every keyword in a document conforms to",
                "term": "Authoritative side"
              },
              {
                "description": "Not answered",
                "term": "Depends on"
              },
              {
                "description": "Not answered",
                "term": "Shape it refuses"
              }
            ],
            "kind": "glossary"
          }
        ],
        "id": "pag-keyword-const",
        "title": "CONST"
      }
    ],
    "title": "declaration",
    "kind": "keywords"
  },
  "graph": {
    "narrative": true,
    "requires": [],
    "teaches": [],
    "traces": []
  },
  "href": "https://banes-lab.com/ontology/grammar#pag-keywords-declaration",
  "number": "218",
  "page": "ontology",
  "ref": "chapter:/ontology/grammar#pag-keywords-declaration",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/reasoning#reasoning-representation-symbolic",
          "json": "https://banes-lab.com/json/records/reasoning/representation-symbolic",
          "label": "Symbolic",
          "markdown": "https://banes-lab.com/records/reasoning/representation-symbolic.md",
          "ref": "reasoning:representation-symbolic"
        },
        {
          "href": "https://banes-lab.com/ontology/grammar#pag-keyword-defines",
          "json": "https://banes-lab.com/json/records/pag/keyword-defines",
          "label": "DEFINES",
          "markdown": "https://banes-lab.com/records/pag/keyword-defines.md",
          "ref": "pag:keyword-defines"
        }
      ],
      "relation": "links-to"
    }
  ],
  "route": null,
  "section": "pag-keywords-declaration",
  "summary": "Every PAG keyword record, with what grounds it and how it is checked.",
  "tab": "grammar",
  "title": "declaration",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/ontology/grammar#pag-keywords-modifier",
      "json": "https://banes-lab.com/json/ontology/grammar/pag-keywords-modifier",
      "label": "modifier",
      "markdown": "https://banes-lab.com/ontology/grammar/pag-keywords-modifier.md",
      "ref": "chapter:/ontology/grammar#pag-keywords-modifier"
    },
    "previous": {
      "href": "https://banes-lab.com/ontology/grammar#pag-keywords-control-flow",
      "json": "https://banes-lab.com/json/ontology/grammar/pag-keywords-control-flow",
      "label": "control_flow",
      "markdown": "https://banes-lab.com/ontology/grammar/pag-keywords-control-flow.md",
      "ref": "chapter:/ontology/grammar#pag-keywords-control-flow"
    }
  },
  "up": {
    "href": "https://banes-lab.com/ontology/grammar",
    "json": "https://banes-lab.com/json/api/pages/ontology/grammar",
    "label": "Ontology · Grammar",
    "markdown": "https://banes-lab.com/api/pages/ontology/grammar.md",
    "ref": "api:/ontology/grammar"
  }
}
