A glyph is a mark with a grammar. The grammar is the set of rules that govern how the glyph is constructed — the parameters that determine its shape, its density, its orientation, and its relationship to the space it occupies. In typography, a glyph's grammar is the typeface: the system of proportions, weights, and spacing that makes every letter in a font belong to the same visual family. In a Clawglyphs token, the glyph's grammar is the algorithm: the system of rules that determines how the claw silhouette is filled, which pattern family is applied, how dense the marks are, and what angle they take.
The concept of a grammar for visual marks is not new. Noam Chomsky, in his work on generative grammar, proposed that the structure of language could be described by a set of rules — a grammar — that generates all and only the well-formed sentences of a language. The grammar does not specify which sentences are actually spoken. It specifies which sentences are possible. The grammar is a system of rules that produces a space of well-formed outputs. An actual sentence is a particular point in that space — a specific selection from the set of possibilities that the grammar defines.
A Clawglyphs token is a point in a similar space. The algorithm is the grammar. The parameters — seed, pattern family, density, angle, background — define a space of well-formed outputs. Each token is a specific selection from that space. The grammar does not specify which token is minted. It specifies which tokens are possible. The minting is the selection — the act of choosing a particular point in the space of possibilities. The grammar is generative in exactly Chomsky's sense: it is a finite set of rules that can produce an infinite variety of well-formed outputs.
The grammar of the glyph is also a grammar of constraint. Every rule that permits a pattern simultaneously forbids patterns that violate the rule. The rule that the claw silhouette must be filled with a specific pattern family excludes all other pattern families. The rule that the density must fall within a specific range excludes densities outside that range. The grammar does not merely generate. It restricts. It limits the space of possibilities to a subset — the set of well-formed glyphs. This restriction is not a bug. It is the condition of legibility. Without restriction, the outputs would be arbitrary — any shape, any density, any arrangement of marks. With restriction, the outputs are recognizable. They belong to a family. They are variants of a type. The grammar produces the family by restricting the variation. The claw is the message.