ctb_formats_dcdata/
dc.generated.rs

1// SPDX-License-Identifier: AGPL-3.0-or-later
2/*
3This file is part of Collective Toolbox, a database and document workspace and utilities.
4Copyright (C) 2026 Collective Toolbox Developers
5Contact: info@collectivetoolbox.com
6
7This program is free software: you can redistribute it and/or modify it under
8the terms of the GNU Affero General Public License as published by the Free
9Software Foundation, either version 3 of the License, or (at your option) any
10later version.
11
12This program is distributed in the hope that it will be useful, but WITHOUT ANY
13WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
14A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more details.
15
16You should have received a copy of the GNU Affero General Public License along
17with this program.  If not, see <https://www.gnu.org/licenses/>.
18*/
19
20//! Constants and definitions for Document Character (Dc) data.
21//! @generated by ctb-build-support::dc_codegen from category data tables.
22//! Do not edit by hand.
23
24#[allow(
25    unused_imports,
26    clippy::wildcard_imports,
27    reason = "Standard workspace module prelude"
28)]
29use crate::utilities::*;
30
31pub use ctb_storage_minimal::global_graph_layout::{
32    SHORT_DC_REGION_END, SHORT_DC_REGION_START,
33};
34
35pub use crate::dc_char::DcChar;
36
37/// The DCE range character. Used to represent ranges in DCE. See the wiki for more information. (Dc 4).
38pub const DC_RANGE: DcChar = DcChar::from_short(4);
39/// Begin a DCE number. (Dc 6).
40pub const DC_BEGIN_NUMBER: DcChar = DcChar::from_short(6);
41/// End a DCE number. (Dc 7).
42pub const DC_END_NUMBER: DcChar = DcChar::from_short(7);
43/// Positive value (syntactical representation — This is not the + character) (Dc 10).
44pub const DC_POSITIVE: DcChar = DcChar::from_short(10);
45/// Negative (syntactical representation — This is not the − character) (Dc 11).
46pub const DC_NEGATIVE: DcChar = DcChar::from_short(11);
47/// Base 64 encapsulation digit 0 (Dc 127).
48pub const DC_BASE64_START: DcChar = DcChar::from_short(127);
49/// Base 64 encapsulation digit 63 (Dc 190).
50pub const DC_BASE64_END: DcChar = DcChar::from_short(190);
51/// Begin Base 64 encapsulated UTF-8 (Dc 191).
52pub const DC_START_ENCAPSULATION_UTF8: DcChar = DcChar::from_short(191);
53/// End Base 64 encapsulated UTF-8 (Dc 192).
54pub const DC_END_ENCAPSULATION_UTF8: DcChar = DcChar::from_short(192);
55/// Base 64 encapsulation padding character (Dc 195).
56pub const DC_BASE64_PADDING: DcChar = DcChar::from_short(195);
57/// Arbitrary binary data (base64 encoded, no semantic significance assigned to it unless optional type is specified). Optional length counts decoded payload bytes; optional checksum covers those bytes. (Dc 203).
58pub const DC_START_ENCAPSULATION_BINARY: DcChar = DcChar::from_short(203);
59/// See description for 203 (Dc 204).
60pub const DC_END_ENCAPSULATION_BINARY: DcChar = DcChar::from_short(204);
61/// Used to replace an incoming character whose value is unknown or unrepresentable in Unicode (Dc 206).
62pub const DC_REPLACEMENT_UNAVAIL_UNICODE: DcChar = DcChar::from_short(206);
63/// Used to replace an incoming character whose value is not mapped to a Dc (document component) (Dc 207).
64pub const DC_REPLACEMENT_UNAVAIL_DC: DcChar = DcChar::from_short(207);
65/// Beginning of a document (Dc 235).
66pub const DC_BEGIN_DOCUMENT: DcChar = DcChar::from_short(235);
67/// Terminates a document begun by Dc 235. (Dc 236).
68pub const DC_END_DOCUMENT: DcChar = DcChar::from_short(236);
69/// Begins a comment that, when represented in EM (Ember Language source) format, should be displayed as a “#”-style comment. All characters except 248 and 255 will be ignored. Use 255 248 to represent 248 within the comment, and 255 255 to represent 255 within the comment. (Dc 246).
70pub const DC_BEGIN_SINGLE_LINE_COMMENT: DcChar = DcChar::from_short(246);
71/// As with 247, but starting on a new line in the source form. (Dc 247).
72pub const DC_BEGIN_SINGLE_LINE_COMMENT_NEW_LINE: DcChar = DcChar::from_short(247);
73/// Terminates a comment region begun by 246 or 247. (Dc 248).
74pub const DC_END_SINGLE_LINE_COMMENT: DcChar = DcChar::from_short(248);
75/// As with 248, but creating a “/*  */”-style block comment. (Dc 249).
76pub const DC_BEGIN_BLOCK_COMMENT: DcChar = DcChar::from_short(249);
77/// As with 250, but starting on a new line in the source form. (Dc 250).
78pub const DC_BEGIN_BLOCK_COMMENT_NEW_LINE: DcChar = DcChar::from_short(250);
79/// Terminates a comment region begun by 249 or 250. (Dc 251).
80pub const DC_END_BLOCK_COMMENT: DcChar = DcChar::from_short(251);
81/// Indicates that the next character should be ignored. (Dc 255).
82pub const DC_ESCAPE: DcChar = DcChar::from_short(255);
83/// Send the specified string to the current output context, adding a final line feed if one is not present (Dc 256).
84pub const DC_LANG_SAY: DcChar = DcChar::from_short(256);
85/// Frames one value expression as a parameter. A literal parameter remains quoted data. (Dc 258).
86pub const DC_BEGIN_PARAMETER: DcChar = DcChar::from_short(258);
87/// Terminates the parameter begun by 258 after its complete value expression. (Dc 259).
88pub const DC_END_PARAMETER: DcChar = DcChar::from_short(259);
89/// Begins a typed quoted character sequence. The payload may be empty. Dc 255 protects exactly the next Dc from syntactic interpretation: 255 261 is payload Dc 261 and 255 255 is payload Dc 255. Only an unescaped 261 terminates the literal. Decode escapes once after locating the boundary; payload characters are not implicitly evaluated or reparsed. (Dc 260).
90pub const DC_BEGIN_LITERAL: DcChar = DcChar::from_short(260);
91/// Terminates a literal begun by 260 unless protected by Dc 255 within its payload. (Dc 261).
92pub const DC_END_LITERAL: DcChar = DcChar::from_short(261);
93/// Begin type definition (Dc 262).
94pub const DC_BEGIN_TYPE_DEF: DcChar = DcChar::from_short(262);
95/// End type definition (Dc 263).
96pub const DC_END_TYPE_DEF: DcChar = DcChar::from_short(263);
97/// A specific case of “String” as a format (short-style format ID 80) (Dc 264).
98pub const DC_TYPE_STRING: DcChar = DcChar::from_short(264);
99/// void lang.assign([identifier] identifier, [value] value) (Dc 268).
100pub const DC_LANG_ASSIGN: DcChar = DcChar::from_short(268);
101/// Assignment operator (Dc 269).
102pub const DC_ASSIGN: DcChar = DcChar::from_short(269);
103/// Begins a nonempty name. Dc 255 protects exactly the following Dc from syntactic interpretation. Only an unescaped 271 terminates the name. The name is data; reference or invocation syntax determines how it is used. (Dc 270).
104pub const DC_BEGIN_IDENTIFIER: DcChar = DcChar::from_short(270);
105/// Terminates an identifier begun by 270 unless protected by Dc 255 within its payload. (Dc 271).
106pub const DC_END_IDENTIFIER: DcChar = DcChar::from_short(271);
107/// Built-in type identifier: * (Object or any subtype) (Dc 275).
108pub const DC_TYPE_ANY: DcChar = DcChar::from_short(275);
109/// References the named object with an optional explicit type. Both forms begin with 276 and end with the complete framed identifier. Resolve the reference only in an evaluation context; quoting it does not perform a lookup. (Dc 276).
110pub const DC_REFERENCE_NAMED_OBJECT: DcChar = DcChar::from_short(276);
111/// Built-in type identifier: Number (Dc 278).
112pub const DC_TYPE_NUMBER: DcChar = DcChar::from_short(278);
113/// Invoke the specified routine (unlike lang.invoke, this form of invocation is not shown in the EM source form of the document FIXME: clarify this??) (Dc 279).
114pub const DC_ROUTINE_INVOCATION: DcChar = DcChar::from_short(279);
115/// Built-in type identifier: Routine (Dc 280).
116pub const DC_TYPE_ROUTINE: DcChar = DcChar::from_short(280);
117/// Next number is a Dc-equivalent reference to a local node/document (Dc 296).
118pub const DC_LOCAL_NODE: DcChar = DcChar::from_short(296);
119/// Equivalent to an opening parenthesis in many languages or in arithmetic expressions. (Dc 298).
120pub const DC_BEGIN_ASSOCIATIVITY_GROUP: DcChar = DcChar::from_short(298);
121/// Equivalent to a closing parenthesis in many languages or in arithmetic expressions. (Dc 299).
122pub const DC_END_ASSOCIATIVITY_GROUP: DcChar = DcChar::from_short(299);
123/// Indicates that one or more types are all applicable to the same data. This is a conjunction of constraints (a union of descriptions); it does not mean either type as an alternative. For that, see Dc 516 “Type intersection”. (Dc 300).
124pub const DC_TYPE_UNION: DcChar = DcChar::from_short(300);
125/// Describes a transformation operation as part of a type description. The first operand is the input type; the second identifies the transformation. Only transformation formats would make sense for the second operand. Describing an operation does not itself execute it. (Dc 301).
126pub const DC_TYPE_TRANSFORMATION: DcChar = DcChar::from_short(301);
127/// Describes a conversion operation from the first operand's type to the second operand's type. Conversion may change the representation and may be lossy. Describing an operation does not itself execute it. (Dc 302).
128pub const DC_TYPE_CONVERSION: DcChar = DcChar::from_short(302);
129/// Describes reinterpreting a representation of the first operand's type as the second operand's type without converting the representation. Describing an operation does not itself execute it. (Dc 303).
130pub const DC_TYPE_TRANSMUTATION: DcChar = DcChar::from_short(303);
131/// Subtype of string (Dc 306).
132pub const DC_TYPE_ROUTINE_NAME: DcChar = DcChar::from_short(306);
133/// Used to embed Dcs with short numbers greater than 1,114,111 (the largest, in practice, that EITE would be able to support without needing changes to pack32, I think) into short Dc range. If encountered as a long Dc, it must be escaped with 255 before converting to short Dc, or else it would be lost (if followed by a Dc number) when converting back. (Dc 308).
134pub const DC_LONG_DC: DcChar = DcChar::from_short(308);
135/// Begins an ordered, contiguous, typed homogenous or heterogenous list. (Dc 310).
136pub const DC_BEGIN_LIST: DcChar = DcChar::from_short(310);
137/// Terminates a typed list begun by 310. Optionally, a length can be specified, in which case it must have that many elements declared. (Dc 311).
138pub const DC_END_LIST: DcChar = DcChar::from_short(311);
139/// Separates elements within a list or sequence. (Dc 312).
140pub const DC_LIST_ELEMENT_SEPARATOR: DcChar = DcChar::from_short(312);
141/// Legacy ordered key-value associative map. Keys and values alternate with Dc 312 between every operand. The optional length counts pairs. Retained for reading existing documents; new documents should use Dc 559. (Dc 313).
142pub const DC_BEGIN_LEGACY_KV_MAP: DcChar = DcChar::from_short(313);
143/// Terminates a legacy ordered key-value associative map begun by 313. (Dc 314).
144pub const DC_END_LEGACY_KV_MAP: DcChar = DcChar::from_short(314);
145/// Indicates an optional value is present. (Dc 315).
146pub const DC_OPTIONAL_PRESENT: DcChar = DcChar::from_short(315);
147/// Indicates an optional value is absent. (Dc 316).
148pub const DC_OPTIONAL_ABSENT: DcChar = DcChar::from_short(316);
149/// Begins an execution environment snapshot. (Dc 340).
150pub const DC_BEGIN_ENVIRONMENT_DESCRIPTION: DcChar = DcChar::from_short(340);
151/// Terminates an execution environment snapshot. (Dc 341).
152pub const DC_END_ENVIRONMENT_DESCRIPTION: DcChar = DcChar::from_short(341);
153/// Begins a collection of semantic file flags attached to a file. (Dc 388).
154pub const DC_BEGIN_FILE_FLAGS_DESCRIPTION: DcChar = DcChar::from_short(388);
155/// Terminates a collection of semantic file flags attached to a file. (Dc 389).
156pub const DC_END_FILE_FLAGS_DESCRIPTION: DcChar = DcChar::from_short(389);
157/// Begins a time moment description. (Dc 390).
158pub const DC_BEGIN_TIME_MOMENT: DcChar = DcChar::from_short(390);
159/// Terminates a time moment description. (Dc 391).
160pub const DC_END_TIME_MOMENT: DcChar = DcChar::from_short(391);
161/// A positive date duration (Dc 393).
162pub const DC_BEGIN_DATE_MAGNITUDE: DcChar = DcChar::from_short(393);
163/// End date magnitude description (Dc 394).
164pub const DC_END_DATE_MAGNITUDE: DcChar = DcChar::from_short(394);
165/// Begin date duration description (Dc 395).
166pub const DC_BEGIN_DATE_DURATION: DcChar = DcChar::from_short(395);
167/// End date duration description (Dc 396).
168pub const DC_END_DATE_DURATION: DcChar = DcChar::from_short(396);
169/// Indicates that all values within the list have the same underlying meaning. (Dc 397).
170pub const DC_EQUIVALENT_REPRESENTATIONS: DcChar = DcChar::from_short(397);
171/// E.g. “Here’s a Dc representation of an IPv4 address using the syntax associated with that format Dc” (Dc 511).
172pub const DC_BEGIN_FORMAT_REPRESENTATION: DcChar = DcChar::from_short(511);
173/// End Dc representation of format (Dc 512).
174pub const DC_END_FORMAT_REPRESENTATION: DcChar = DcChar::from_short(512);
175/// File path delimiter (Dc 513).
176pub const DC_FILE_PATH_DELIMITER: DcChar = DcChar::from_short(513);
177/// Begins a key-value pair. Dc 312 separates the nonempty key and value regions; Dc 515 closes the pair. Nested framed data and escaped characters belong to their operand rather than delimiting the enclosing pair. Operand regions retain their historical syntax; this rule does not impose a narrower expression grammar. (Dc 514).
178pub const DC_BEGIN_KV_PAIR: DcChar = DcChar::from_short(514);
179/// Terminates the key-value pair begun by Dc 514. (Dc 515).
180pub const DC_END_KV_PAIR: DcChar = DcChar::from_short(515);
181/// Indicates that any of multiple types satisfy the type description. See also Dc 300 “Type union”, which indicates that all of multiple types satisfy the type description. (Dc 516).
182pub const DC_TYPE_INTERSECTION: DcChar = DcChar::from_short(516);
183/// Boolean true (Dc 517).
184pub const DC_BOOLEAN_TRUE: DcChar = DcChar::from_short(517);
185/// Boolean false (Dc 518).
186pub const DC_BOOLEAN_FALSE: DcChar = DcChar::from_short(518);
187/// Applies typed parameter bindings to a format in a format specification expression. (Dc 535).
188pub const DC_FORMAT_PARAM_APPLICATION: DcChar = DcChar::from_short(535);
189/// Raw file flag bitmask with an unparsed-bits indicator. (Dc 539).
190pub const DC_RAW_FILE_FLAGS: DcChar = DcChar::from_short(539);
191/// References a value declared by Dc 269 in the current or nearest enclosing identifier scope. The identifier is name data; evaluating the reference resolves its value. Quoting the reference does not perform lookup. (Dc 540).
192pub const DC_REFERENCE_BOUND_VALUE: DcChar = DcChar::from_short(540);
193/// Enters a lexical identifier scope. Inner Dc 269 declarations shadow outer declarations of the same name and may produce warnings. Declarations last only until scope exit and never cross document boundaries by default. (Dc 541).
194pub const DC_ENTER_IDENTIFIER_SCOPE: DcChar = DcChar::from_short(541);
195/// Exits the innermost identifier scope and discards its declarations. Outer declarations become visible again. All document-local declarations expire at the end of the document. (Dc 542).
196pub const DC_EXIT_IDENTIFIER_SCOPE: DcChar = DcChar::from_short(542);
197/// Begins a delimited section of a document or stream verified by an end checksum. (Dc 543).
198pub const DC_BEGIN_CHECKSUMMED_SECTION: DcChar = DcChar::from_short(543);
199/// Terminates a checksummed section. (Dc 544).
200pub const DC_END_CHECKSUMMED_SECTION: DcChar = DcChar::from_short(544);
201/// Cryptographic or cyclic redundancy checksum verifying the integrity of the preceding section. (Dc 545).
202pub const DC_SECTION_DIGEST: DcChar = DcChar::from_short(545);
203/// Monotonically increasing sequence or batch counter. (Dc 546).
204pub const DC_SEQUENCE_IDENTIFIER: DcChar = DcChar::from_short(546);
205/// Begins a record describing the parameters source destination and execution of an operation task or session. (Dc 547).
206pub const DC_BEGIN_OPERATION_SESSION: DcChar = DcChar::from_short(547);
207/// Terminates an operation session record. (Dc 548).
208pub const DC_END_OPERATION_SESSION: DcChar = DcChar::from_short(548);
209/// Path designating a source directory file or origin root of an operation. (Dc 549).
210pub const DC_SOURCE_PATH: DcChar = DcChar::from_short(549);
211/// Path designating a target or destination directory file or storage root. (Dc 550).
212pub const DC_DESTINATION_PATH: DcChar = DcChar::from_short(550);
213/// Indicates that an operation or session completed its primary intended task. (Dc 551).
214pub const DC_OPERATION_COMPLETED: DcChar = DcChar::from_short(551);
215/// Begins a structured error incident record. (Dc 552).
216pub const DC_BEGIN_ERROR_RECORD: DcChar = DcChar::from_short(552);
217/// Terminates a structured error record. (Dc 553).
218pub const DC_END_ERROR_RECORD: DcChar = DcChar::from_short(553);
219/// Begins a structured warning incident record. (Dc 554).
220pub const DC_BEGIN_WARNING_RECORD: DcChar = DcChar::from_short(554);
221/// Terminates a structured warning record. (Dc 555).
222pub const DC_END_WARNING_RECORD: DcChar = DcChar::from_short(555);
223/// Human-readable explanatory or diagnostic log message. (Dc 556).
224pub const DC_LOG_MESSAGE: DcChar = DcChar::from_short(556);
225/// Identifier correlating related operations log entries or distributed traces. (Dc 557).
226pub const DC_TRACE_IDENTIFIER: DcChar = DcChar::from_short(557);
227/// Numeric status or return code associated with an operation. (Dc 558).
228pub const DC_OPERATION_STATUS_CODE: DcChar = DcChar::from_short(558);
229/// Begins an ordered key-value associative map of adjacent explicitly closed Dc 514 pairs. No Dc 312 occurs between pairs. The optional length counts pairs. The declared key and value types apply to each pair; inherited declarations must accompany independently extracted fragments. Invalid pair framing must not be reinterpreted as the legacy Dc 313 form. (Dc 559).
230pub const DC_BEGIN_KV_MAP: DcChar = DcChar::from_short(559);
231/// Terminates an ordered key-value associative map begun by Dc 559. (Dc 560).
232pub const DC_END_KV_MAP: DcChar = DcChar::from_short(560);
233/// Indicates that the values within the list represent the same entity, but one or more representations are incomplete or lossy compared to the others. (Dc 561).
234pub const DC_PARTIALLY_EQUIVALENT_REPRESENTATIONS: DcChar = DcChar::from_short(561);
235/// Ontological root concept representing a type class or category of entities. (Dc 565).
236pub const DC_ENTITY_TYPE: DcChar = DcChar::from_short(565);
237/// Ontological concept representing a directed relationship or predicate type. (Dc 566).
238pub const DC_RELATIONSHIP_TYPE: DcChar = DcChar::from_short(566);
239/// Ontological concept representing a reified relationship or statement instance. (Dc 567).
240pub const DC_RELATIONSHIP: DcChar = DcChar::from_short(567);
241/// Ontological concept representing an individual thing or entity. (Dc 568).
242pub const DC_ENTITY: DcChar = DcChar::from_short(568);
243/// A thing that replaces or supersedes another thing. (Dc 569).
244pub const DC_REPLACEMENT: DcChar = DcChar::from_short(569);
245/// Qualifier indicating that an option or representation is preferred over alternatives. (Dc 570).
246pub const DC_PREFERRED: DcChar = DcChar::from_short(570);
247/// A sequence of simpler or constituent elements into which something decomposes. (Dc 571).
248pub const DC_DECOMPOSITION: DcChar = DcChar::from_short(571);
249/// The authoritative human-readable name of something. (Dc 572).
250pub const DC_CANONICAL_NAME: DcChar = DcChar::from_short(572);
251/// A human-readable explanation of the meaning or purpose of something. (Dc 573).
252pub const DC_DESCRIPTION: DcChar = DcChar::from_short(573);
253/// An identifier string used to reference something in source code. (Dc 574).
254pub const DC_PROGRAMMATIC_IDENTIFIER: DcChar = DcChar::from_short(574);
255/// A short informal name or command-line alias for something. (Dc 575).
256pub const DC_NICKNAME: DcChar = DcChar::from_short(575);
257/// An alternative informal name or synonym for something. (Dc 576).
258pub const DC_INFORMAL_ALIAS: DcChar = DcChar::from_short(576);
259/// A normative formal name alias for a character. (Dc 577).
260pub const DC_FORMAL_ALIAS: DcChar = DcChar::from_short(577);
261/// An explanatory note or usage commentary attached to something. (Dc 578).
262pub const DC_ANNOTATION: DcChar = DcChar::from_short(578);
263/// A signature description or pattern used to identify a data format. (Dc 579).
264pub const DC_MAGIC_SIGNATURE: DcChar = DcChar::from_short(579);
265/// The Unicode Canonical Combining Class value of a character. (Dc 580).
266pub const DC_CANONICAL_COMBINING_CLASS: DcChar = DcChar::from_short(580);
267/// The Unicode Bidirectional Class code of a character. (Dc 581).
268pub const DC_BIDIRECTIONAL_CLASS: DcChar = DcChar::from_short(581);
269/// The casing partner character of a character. (Dc 582).
270pub const DC_CASE_MAPPING_PARTNER: DcChar = DcChar::from_short(582);
271/// The General Category classification of a character. (Dc 583).
272pub const DC_CHARACTER_GENERAL_CATEGORY: DcChar = DcChar::from_short(583);
273/// Asserts that the subject possesses the specified attribute component or property noun. (Dc 584).
274pub const DC_HAS_A: DcChar = DcChar::from_short(584);
275/// Asserts that a property attribute or expression has the specified value. (Dc 585).
276pub const DC_IS_EQUAL_TO: DcChar = DcChar::from_short(585);
277/// Asserts that the subject is an instance of the object type. (Dc 586).
278pub const DC_IS_INSTANCE_OF: DcChar = DcChar::from_short(586);
279/// Asserts that the subject type or format is a subtype of or logically entails the object type or format. (Dc 587).
280pub const DC_IS_SUBTYPE_OF: DcChar = DcChar::from_short(587);
281/// Asserts that the subject is derived from or historically based on the object. (Dc 588).
282pub const DC_IS_BASED_ON: DcChar = DcChar::from_short(588);
283/// Asserts whether the subject is deprecated. (Dc 589).
284pub const DC_IS_DEPRECATED: DcChar = DcChar::from_short(589);
285/// Asserts that the subject closing delimiter character terminates a syntactic block opened by the object character. (Dc 590).
286pub const DC_IS_CLOSING_DELIMITER_FOR: DcChar = DcChar::from_short(590);
287/// Asserts that the subject statement or revision node supersedes and replaces the object statement or revision node. (Dc 591).
288pub const DC_SUPERSEDES: DcChar = DcChar::from_short(591);
289/// Asserts that the subject statement node withdraws and retracts the object statement node. (Dc 592).
290pub const DC_RETRACTS: DcChar = DcChar::from_short(592);
291/// A reference directing attention to another related entity or entry. (Dc 593).
292pub const DC_CROSS_REFERENCE: DcChar = DcChar::from_short(593);
293/// A pattern or grammar rule defining the valid syntactic structure of something. (Dc 594).
294pub const DC_SYNTAX_RULE: DcChar = DcChar::from_short(594);
295/// A specification or expression describing the format, type, or composition pipeline of data. (Dc 595).
296pub const DC_DATA_FORMAT_DESCRIPTION: DcChar = DcChar::from_short(595);
297/// A Dc script classification, as in Unicode, extended for Dc (Dc 596).
298pub const DC_CHARACTER_SCRIPT: DcChar = DcChar::from_short(596);
299/// An operating system environment or platform family. (Dc 597).
300pub const DC_OPERATING_SYSTEM: DcChar = DcChar::from_short(597);
301/// Asserts that the subject is associated or affiliated with the object. (Dc 598).
302pub const DC_IS_ASSOCIATED_WITH: DcChar = DcChar::from_short(598);
303/// Placeholder referring to the character or pattern rule currently being defined or matched. (Dc 599).
304pub const DC_SELF_REFERENCE: DcChar = DcChar::from_short(599);
305/// Matches any single Dc token or balanced syntactic frame. (Dc 600).
306pub const DC_WILDCARD_PATTERN: DcChar = DcChar::from_short(600);
307/// Matches a Dc sequence only if all of the specified component patterns match. (Dc 601).
308pub const DC_PATTERN_CONJUNCTION: DcChar = DcChar::from_short(601);
309/// Matches a Dc sequence if any of the specified alternative patterns match. (Dc 602).
310pub const DC_PATTERN_ALTERNATION: DcChar = DcChar::from_short(602);
311/// Quantifies a pattern element with an exact repetition count or a Dc 643 count range. (Dc 603).
312pub const DC_PATTERN_REPETITION: DcChar = DcChar::from_short(603);
313/// Matches any single Dc token or balanced syntactic frame that does not match the specified target pattern or character set. (Dc 604).
314pub const DC_NEGATED_PATTERN: DcChar = DcChar::from_short(604);
315/// Matches a sequence of Dcs against a referenced pattern or the syntax rule of a referenced entity or type, rather than matching the referenced identifier literally. (Dc 605).
316pub const DC_SUBPATTERN_MATCH: DcChar = DcChar::from_short(605);
317/// Matches a pattern element and binds the matched Dc sub-sequence to an identifier for backreference, extraction, or substitution. (Dc 606).
318pub const DC_PATTERN_CAPTURE: DcChar = DcChar::from_short(606);
319/// Pairs a match pattern with a replacement or target Dc expression instantiated from its captured bindings. (Dc 607).
320pub const DC_PATTERN_REPLACEMENT: DcChar = DcChar::from_short(607);
321/// General category as in Unicode, extended for Dc (Dc 608).
322pub const DC_DC_GENERAL_CATEGORY: DcChar = DcChar::from_short(608);
323/// The Unicode Script classification of a character. (Dc 609).
324pub const DC_UNICODE_SCRIPT: DcChar = DcChar::from_short(609);
325/// Asserts that the subject property, attribute statement, or parameter has the specified value. (Dc 610).
326pub const DC_HAS_VALUE: DcChar = DcChar::from_short(610);
327/// A canonically equivalent decomposition of a character or sequence into a sequence with the same canonical meaning. (Dc 611).
328pub const DC_CANONICAL_DECOMPOSITION: DcChar = DcChar::from_short(611);
329/// A compatibility decomposition of a character into a sequence with equivalent compatibility content. (Dc 612).
330pub const DC_COMPATIBILITY_DECOMPOSITION: DcChar = DcChar::from_short(612);
331/// An approximate, non-executable decomposition of a character or type into a roughly corresponding sequence. (Dc 613).
332pub const DC_APPROXIMATE_DECOMPOSITION: DcChar = DcChar::from_short(613);
333/// A decomposition of a character into a sequence that approximates it while carrying additional semantic meaning. (Dc 614).
334pub const DC_SEMANTIC_DECOMPOSITION: DcChar = DcChar::from_short(614);
335/// Refers to the enclosing document or graph node currently being defined. (Dc 615).
336pub const DC_ENCLOSING_DOCUMENT: DcChar = DcChar::from_short(615);
337/// Evaluates or substitutes the following [value] expression in place of itself in an [atom_dc] operand position. (Dc 616).
338pub const DC_EVALUATE_VALUE_AS_ATOM: DcChar = DcChar::from_short(616);
339/// Begins a definition of the global graph node identified by the [atom_dc] header token. This creates a document scope, similar to 235 "Begin document": within the node body, Dc 615 (Enclosing document) refers to this node ID. (Dc 617).
340pub const DC_BEGIN_GRAPH_NODE_DEFINITION: DcChar = DcChar::from_short(617);
341/// Terminates a graph node definition begun by Dc 617. (Dc 618).
342pub const DC_END_GRAPH_NODE_DEFINITION: DcChar = DcChar::from_short(618);
343/// Capability of an application or environment to read, parse, decode, decompress, or execute data in a format or forward transformation in general. (Dc 619).
344pub const DC_GENERAL_FORMAT_IMPORT_SUPPORT: DcChar = DcChar::from_short(619);
345/// Capability of an application or environment to import or convert data from a format into a Dc document representation. (Dc 620).
346pub const DC_DC_FORMAT_IMPORT_SUPPORT: DcChar = DcChar::from_short(620);
347/// Capability of an application or environment to write, serialize, encode, compress, or reverse data in a format or transformation in general. (Dc 621).
348pub const DC_GENERAL_FORMAT_EXPORT_SUPPORT: DcChar = DcChar::from_short(621);
349/// Capability of an application or environment to export or convert a Dc document representation into a format. (Dc 622).
350pub const DC_DC_FORMAT_EXPORT_SUPPORT: DcChar = DcChar::from_short(622);
351/// Automated test coverage in an application or environment for general handling of a format or transformation. (Dc 623).
352pub const DC_GENERAL_FORMAT_TEST_COVERAGE: DcChar = DcChar::from_short(623);
353/// Automated test coverage in an application or environment for converting a format to or from Dc documents. (Dc 624).
354pub const DC_DC_FORMAT_TEST_COVERAGE: DcChar = DcChar::from_short(624);
355/// The maturity, completeness, or fidelity level of an implementation or test suite for a capability. (Dc 625).
356pub const DC_IMPLEMENTATION_SUPPORT_LEVEL: DcChar = DcChar::from_short(625);
357/// Indicates that a capability or conversion direction is not applicable to the format. (Dc 626).
358pub const DC_SUPPORT_NOT_APPLICABLE: DcChar = DcChar::from_short(626);
359/// Indicates experimental or work-in-progress implementation or test coverage. (Dc 627).
360pub const DC_SUPPORT_WORK_IN_PROGRESS: DcChar = DcChar::from_short(627);
361/// Indicates support for a subset, basic dialect, or stream-level operation of a format, or partial test coverage. (Dc 628).
362pub const DC_SUPPORT_PARTIAL: DcChar = DcChar::from_short(628);
363/// Indicates complete implementation of a format or complete semantic conversion to or from Dc syntax. (Dc 629).
364pub const DC_SUPPORT_COMPLETE: DcChar = DcChar::from_short(629);
365/// Indicates that conversion preserves all information required for unambiguous bit-for-bit reconstruction. (Dc 630).
366pub const DC_SUPPORT_LOSSLESS_ROUNDTRIP: DcChar = DcChar::from_short(630);
367/// Indicates lossless roundtripping with optional strict structural and semantic validation. (Dc 631).
368pub const DC_SUPPORT_LOSSLESS_STRICT_VALIDATION: DcChar = DcChar::from_short(631);
369/// Property indicating a format variation (.Formats:format_variant) along which a format varies. (Dc 632).
370pub const DC_FORMAT_VARIATION_ASPECT: DcChar = DcChar::from_short(632);
371/// Property specifying the default variant format used by a format when none is explicitly specified. (Dc 633).
372pub const DC_DEFAULT_FORMAT_VARIANT: DcChar = DcChar::from_short(633);
373/// Short parameter nickname (such as in '@vary_as("...")') used to identify a format variation aspect in parametric format expressions. (Dc 634).
374pub const DC_DC_FORMAT_VARIATION_NICKNAME: DcChar = DcChar::from_short(634);
375/// Property identifying the data source or provenance from which a seed graph statement or node was derived. (Dc 635).
376pub const DC_COLLECTIVE_TOOLBOX_SEED_GRAPH_DATA_SOURCE: DcChar = DcChar::from_short(635);
377/// Identifies the Collective Toolbox Dc CSV seed database tables in src/formats/dcdata/data-src/ as a data source. (Dc 636).
378pub const DC_COLLECTIVE_TOOLBOX_DC_CSV_SEED_DATABASE: DcChar = DcChar::from_short(636);
379/// General concept of manual entry or direct human authoring. (Dc 637).
380pub const DC_MANUAL_ENTRY: DcChar = DcChar::from_short(637);
381/// Evaluates or asserts the first operand ([statement]) once for each element of the second operand, binding Dc 639 (This element) to the current element on each iteration. (Dc 638).
382pub const DC_DISTRIBUTE_STATEMENT_OVER_EACH: DcChar = DcChar::from_short(638);
383/// Pronoun referring to the element currently being iterated over within an enclosing Dc 638 (Distribute statement over each element) expression. (The Dc is called "This" by analogy to jQuery $(this) in .each(), but maybe there's a better name for it.) (Dc 639).
384pub const DC_THIS_ELEMENT: DcChar = DcChar::from_short(639);
385/// An unevaluated reference to a single Document Character (or Dc 616 atom expression), denoting the character or graph node itself rather than evaluating its syntax rule. (Dc 640).
386pub const DC_TYPE_ATOM_DC: DcChar = DcChar::from_short(640);
387/// Records the highest allocated System node ID when the document was written. (Dc 641).
388pub const DC_GLOBAL_GRAPH_SYSTEM_BLOCK_MOST_RECENT_NODE_ID: DcChar = DcChar::from_short(641);
389/// Length of a data payload or representation in bytes. (Dc 642).
390pub const DC_DATA_BYTE_LENGTH: DcChar = DcChar::from_short(642);
391/// Defines a contiguous range of values of the specified type (or Dc 275 * for an unconstrained range) between a lower endpoint and an upper endpoint. Endpoints are inclusive unless wrapped in Dc 644 (Exclusive range endpoint), or unbounded if Dc 316 (Optional value absent). (Dc 643).
392pub const DC_VALUE_RANGE: DcChar = DcChar::from_short(643);
393/// Marks a lower or upper endpoint of a Dc 643 (Range) expression as strictly exclusive (open interval bound, excluding the endpoint value itself). (Dc 644).
394pub const DC_EXCLUSIVE_RANGE_ENDPOINT: DcChar = DcChar::from_short(644);
395/// Asserts whether the subject identifier, statement, or entity is stable. (Dc 645).
396pub const DC_IS_STABLE: DcChar = DcChar::from_short(645);
397/// Asserts that the subject statement, property, or rule applies within the context or scope of the object entity. (Dc 646).
398pub const DC_IN_CONTEXT_OF: DcChar = DcChar::from_short(646);
399/// WebAssembly instruction `unreachable` (opcode 0x00, stack type `[t* 1]->[t* 2]`). (Dc 647).
400pub const DC_WASM_START: DcChar = DcChar::from_short(647);
401/// WebAssembly instruction `struct.new x` (opcode 0xFB 0x00, stack type `[t*]->[(ref x)]`). (Dc 903).
402pub const DC_WASM_FB_START: DcChar = DcChar::from_short(903);
403/// WebAssembly instruction `i32.trunc_sat_f32_s` (opcode 0xFC 0x00, stack type `[f32]->[i32]`). (Dc 1159).
404pub const DC_WASM_FC_START: DcChar = DcChar::from_short(1159);
405/// WebAssembly instruction `v128.load x memarg` (opcode 0xFD 0x00, stack type `[at]->[v128]`). (Dc 1415).
406pub const DC_WASM_FD_PAGE0_START: DcChar = DcChar::from_short(1415);
407/// WebAssembly instruction `i8x16.relaxed_swizzle` (opcode 0xFD 0x80 0x02, stack type `[v128 v128]->[v128]`). (Dc 1671).
408pub const DC_WASM_FD_PAGE1_START: DcChar = DcChar::from_short(1671);
409/// Begins a WebAssembly program consisting of either an ordered key-value array of program members or a direct sequence of WebAssembly instructions. (Dc 1927).
410pub const DC_BEGIN_WASM_PROGRAM: DcChar = DcChar::from_short(1927);
411/// Terminates a WebAssembly program begun by Dc 1927. (Dc 1928).
412pub const DC_END_WASM_PROGRAM: DcChar = DcChar::from_short(1928);
413/// Standalone 1-Short-Dc execution supervisor for evaluating, converting, and metering Dc documents without starting the full workspace. (Dc 1936).
414pub const DC_DC_DOCUMENT_EXECUTION_KERNEL: DcChar = DcChar::from_short(1936);
415/// Top-level 1-Short-Dc workspace bootstrap entry document for the full Collective Toolbox workspace application, delegating document execution and resource accounting to Dc 1936 (Dc document execution kernel). (Dc 1937).
416pub const DC_COLLECTIVE_TOOLBOX_WORKSPACE: DcChar = DcChar::from_short(1937);
417/// Evaluates its second operand (and all graph definitions, decompositions, and routines transitively resolved within that evaluation) against the graph snapshot specified by [pin_description]. (Dc 1938).
418pub const DC_RESOLVE_TO_PIN: DcChar = DcChar::from_short(1938);
419/// Queries the active System graph snapshot (respecting any active pin, or HEAD if unpinned) for verbatim node contents (617 <id> 600 618), exact-token reverse lookup (617 600 <tokens...> 618), relationship triples with 600 wildcards, or active snapshot watermark (641 600). (Dc 1939).
420pub const DC_MINIMAL_SYSTEM_GRAPH_QUERY: DcChar = DcChar::from_short(1939);
421/// Executes a pure Dc-WASM program (1927..1928 or wasm_routine) on the supplied [string] input under the shared task instruction quota, returning the program's output [string]. (Dc 1940).
422pub const DC_EXECUTE_PURE_WASM_PROGRAM: DcChar = DcChar::from_short(1940);
423/// Records the creation timestamp of the graph node defined in the enclosing checksummed document section as section metadata covered by the section digest. (Dc 1941).
424pub const DC_SECTION_TIMESTAMP_NODE_CREATION_TIME: DcChar = DcChar::from_short(1941);
425/// Property attaching a routine test block (Dc 2206..Dc 2207) of inline input/output contract cases to a routine entity. (Dc 1942).
426pub const DC_ROUTINE_TEST_SUITE: DcChar = DcChar::from_short(1942);
427/// Begins a tokenized module containing an optional namespace declaration, zero or more use imports, and zero or more top-level items. (Dc 2192).
428pub const DC_BEGIN_MODULE: DcChar = DcChar::from_short(2192);
429/// Terminates a module begun by Dc 2192. (Dc 2193).
430pub const DC_END_MODULE: DcChar = DcChar::from_short(2193);
431/// Declares the PSR-4 module namespace path of the enclosing module. (Dc 2194).
432pub const DC_NAMESPACE_DECL: DcChar = DcChar::from_short(2194);
433/// Imports one or more exported bindings or routines from the specified namespace path. (Dc 2195).
434pub const DC_BEGIN_USE_IMPORT: DcChar = DcChar::from_short(2195);
435/// Terminates a use import list begun by Dc 2195. (Dc 2196).
436pub const DC_END_USE_IMPORT: DcChar = DcChar::from_short(2196);
437/// Specifies one imported item (by resolved Dc or source identifier) and an optional local alias identifier. (Dc 2197).
438pub const DC_USE_IMPORT_ITEM: DcChar = DcChar::from_short(2197);
439/// Declares a non-shadowing local mutable variable of the given type, with an optional initial value expression. (Dc 2198).
440pub const DC_DECLARE_LET: DcChar = DcChar::from_short(2198);
441/// Declares a private immutable binding with an optional assigned graph Dc identity, static type, name, and initializer expression. (Dc 2199).
442pub const DC_DECLARE_CONST: DcChar = DcChar::from_short(2199);
443/// Declares an exported module-level immutable binding with an optional assigned graph Dc identity, static type, name, and initializer expression. (Dc 2200).
444pub const DC_DECLARE_PUB: DcChar = DcChar::from_short(2200);
445/// Assigns a new value expression to an existing mutable local variable (with an optional explicit static type matching its declaration). (Dc 2201).
446pub const DC_ASSIGN_SET: DcChar = DcChar::from_short(2201);
447/// References a lexically bound variable or constant (by identifier or resolved graph Dc) with an optional explicit static type. (Dc 2202).
448pub const DC_TYPED_VALUE_REF: DcChar = DcChar::from_short(2202);
449/// Declares a named routine with a boolean export visibility flag (true for public, false for private), optional assigned graph Dc identity, return type, name, typed parameters, optional test block, and body expression. (Dc 2203).
450pub const DC_BEGIN_ROUTINE_DECL: DcChar = DcChar::from_short(2203);
451/// Terminates a routine declaration begun by Dc 2203. (Dc 2204).
452pub const DC_END_ROUTINE_DECL: DcChar = DcChar::from_short(2204);
453/// Declares one formal parameter of a routine with its static type and identifier. (Dc 2205).
454pub const DC_ROUTINE_PARAM: DcChar = DcChar::from_short(2205);
455/// Begins a contract block of one or more inline input/output test cases attached to a routine declaration. (Dc 2206).
456pub const DC_BEGIN_TEST_BLOCK: DcChar = DcChar::from_short(2206);
457/// Terminates a routine test block begun by Dc 2206. (Dc 2207).
458pub const DC_END_TEST_BLOCK: DcChar = DcChar::from_short(2207);
459/// Defines one inline routine test case consisting of positional argument expressions, Dc 2209, and the expected output expression (or FaultTrap for expected traps, or absent for void completion). (Dc 2208).
460pub const DC_BEGIN_TEST_CASE: DcChar = DcChar::from_short(2208);
461/// Separates positional input argument expressions from the expected output within a Dc 2208 test case. (Dc 2209).
462pub const DC_TEST_EXPECTED_OUT: DcChar = DcChar::from_short(2209);
463/// Terminates a routine test case begun by Dc 2208. (Dc 2210).
464pub const DC_END_TEST_CASE: DcChar = DcChar::from_short(2210);
465/// Invokes an inline routine value or a local or resolved graph routine with zero or more positional argument expressions. (Dc 2211).
466pub const DC_BEGIN_ROUTINE_CALL: DcChar = DcChar::from_short(2211);
467/// Terminates a routine call begun by Dc 2211. (Dc 2212).
468pub const DC_END_ROUTINE_CALL: DcChar = DcChar::from_short(2212);
469/// Evaluates zero or more sequential expressions or local declarations in a new lexical scope, yielding the final expression's value (or void if empty). (Dc 2213).
470pub const DC_BEGIN_CODE_BLOCK: DcChar = DcChar::from_short(2213);
471/// Terminates a code block begun by Dc 2213. (Dc 2214).
472pub const DC_END_CODE_BLOCK: DcChar = DcChar::from_short(2214);
473/// Begins a single n-ary tuple of length $length, declaring its $length slot types followed by $length contiguous ordered slot values separated by Dc 312. (Dc 2215).
474pub const DC_BEGIN_TUPLE: DcChar = DcChar::from_short(2215);
475/// Terminates an n-ary tuple begun by Dc 2215. (Dc 2216).
476pub const DC_END_TUPLE: DcChar = DcChar::from_short(2216);
477/// Declares an immutable positional struct with a boolean export flag, optional assigned graph Dc identity, name, and one or more positional slot types. (Dc 2217).
478pub const DC_BEGIN_POSITIONAL_STRUCT_DECL: DcChar = DcChar::from_short(2217);
479/// Terminates a positional struct declaration begun by Dc 2217. (Dc 2218).
480pub const DC_END_POSITIONAL_STRUCT_DECL: DcChar = DcChar::from_short(2218);
481/// Evaluates positional slot expressions left-to-right and constructs an instance of the referenced positional struct. (Dc 2219).
482pub const DC_BEGIN_POSITIONAL_STRUCT_VALUE: DcChar = DcChar::from_short(2219);
483/// Terminates a positional struct value constructor begun by Dc 2219. (Dc 2220).
484pub const DC_END_POSITIONAL_STRUCT_VALUE: DcChar = DcChar::from_short(2220);
485/// Begins a tokenized StageR 3 module containing an optional namespace declaration, zero or more use imports, and zero or more top-level items. (Dc 2221).
486pub const DC_BEGIN_STAGER_MODULE: DcChar = DcChar::from_short(2221);
487/// Terminates a StageR 3 module begun by Dc 2221. (Dc 2222).
488pub const DC_END_STAGER_MODULE: DcChar = DcChar::from_short(2222);
489/// Declares a nominal single-type wrapper with export visibility boolean, module-opacity boolean (false for transparent brand, true for module-opaque type), optional assigned graph Dc identity, underlying representation type, and identifier. (Dc 2223).
490pub const DC_DECLARE_BRAND_TYPE: DcChar = DcChar::from_short(2223);
491/// Declares an immutable named-field struct with export visibility boolean, optional assigned graph Dc identity, struct identifier, and one or more named field declarations. (Dc 2224).
492pub const DC_BEGIN_NAMED_STRUCT_DECL: DcChar = DcChar::from_short(2224);
493/// Terminates a named struct declaration begun by Dc 2224. (Dc 2225).
494pub const DC_END_NAMED_STRUCT_DECL: DcChar = DcChar::from_short(2225);
495/// Declares one named field of a Dc 2224 struct with its static field type and field identifier. (Dc 2226).
496pub const DC_NAMED_STRUCT_FIELD_DECL: DcChar = DcChar::from_short(2226);
497/// Evaluates named field initializers in source order and constructs an instance of the referenced named struct. (Dc 2227).
498pub const DC_BEGIN_NAMED_STRUCT_VALUE: DcChar = DcChar::from_short(2227);
499/// Terminates a named struct value constructor begun by Dc 2227. (Dc 2228).
500pub const DC_END_NAMED_STRUCT_VALUE: DcChar = DcChar::from_short(2228);
501/// Initializes one named field within a Dc 2227 struct value constructor with its field identifier and value expression. (Dc 2229).
502pub const DC_NAMED_STRUCT_FIELD_INIT: DcChar = DcChar::from_short(2229);
503/// Declares a closed nominal tagged-union enum with export visibility boolean, optional assigned graph Dc identity, enum identifier, and zero or more variant declarations. (Dc 2230).
504pub const DC_BEGIN_ENUM_DECL: DcChar = DcChar::from_short(2230);
505/// Terminates an enum declaration begun by Dc 2230. (Dc 2231).
506pub const DC_END_ENUM_DECL: DcChar = DcChar::from_short(2231);
507/// Declares one variant of a Dc 2230 enum with an optional payload type (absent for unit variants) and variant identifier. (Dc 2232).
508pub const DC_ENUM_VARIANT_DECL: DcChar = DcChar::from_short(2232);
509/// Constructs a value of the referenced enum with the specified variant identifier and optional payload expression. (Dc 2233).
510pub const DC_ENUM_VARIANT_VALUE: DcChar = DcChar::from_short(2233);
511/// Constructs the absent none variant of option/T for the specified payload type T. (Dc 2234).
512pub const DC_OPTION_NONE_VALUE: DcChar = DcChar::from_short(2234);
513/// Constructs the present some variant of option/T for the specified payload type T and payload expression. (Dc 2235).
514pub const DC_OPTION_SOME_VALUE: DcChar = DcChar::from_short(2235);
515/// Constructs the success ok variant of result/T for the specified success type T and payload expression. (Dc 2236).
516pub const DC_RESULT_OK_VALUE: DcChar = DcChar::from_short(2236);
517/// Constructs the failure err variant of result/T for the specified success type T and error-typed operand expression. (Dc 2237).
518pub const DC_RESULT_ERR_VALUE: DcChar = DcChar::from_short(2237);
519/// Constructs a structured diagnostic error value identified by its tag identifier. (Dc 2238).
520pub const DC_ERROR_TAG_VALUE: DcChar = DcChar::from_short(2238);
521/// Quotes the single immediately following Document Character as an unnormalized and unevaluated atom without decomposing or evaluating it. (Dc 2239).
522pub const DC_QUOTE_FOLLOWING_DC_AS_ATOM: DcChar = DcChar::from_short(2239);
523/// Defines an anonymous inline routine value with its return type, zero or more typed formal parameters, and body expression. (Dc 2240).
524pub const DC_BEGIN_ROUTINE: DcChar = DcChar::from_short(2240);
525/// Terminates a routine value begun by Dc 2240. (Dc 2241).
526pub const DC_END_ROUTINE: DcChar = DcChar::from_short(2241);
527/// Refers to the innermost enclosing routine (Dc 2203..Dc 2204 or Dc 2240..Dc 2241) as the target of a recursive Dc 2211..Dc 2212 routine call. (Dc 2242).
528pub const DC_ENCLOSING_ROUTINE: DcChar = DcChar::from_short(2242);
529/// Evaluates a boolean condition expression and branches to either the second operand (then) or third operand (else). (Dc 2448).
530pub const DC_IF_CONDITIONAL: DcChar = DcChar::from_short(2448);
531/// Repeatedly evaluates the boolean condition expression and executes the void body expression while true. (Dc 2449).
532pub const DC_WHILE_LOOP: DcChar = DcChar::from_short(2449);
533/// Iterates over a sequence expression in order, binding a fresh non-shadowing element identifier of the declared type for each iteration of the body expression. (Dc 2450).
534pub const DC_FOR_EACH: DcChar = DcChar::from_short(2450);
535/// Exits the innermost enclosing loop immediately (type Never). (Dc 2451).
536pub const DC_BREAK_LOOP: DcChar = DcChar::from_short(2451);
537/// Advances immediately to the next iteration of the innermost enclosing loop (type Never). (Dc 2452).
538pub const DC_CONTINUE_LOOP: DcChar = DcChar::from_short(2452);
539/// Returns early from the enclosing routine with an optional return value expression (or absent for void routines; type Never). (Dc 2453).
540pub const DC_RETURN_ROUTINE: DcChar = DcChar::from_short(2453);
541/// Deterministically aborts execution with an unrecoverable trap (type Never). (Dc 2454).
542pub const DC_FAULT_TRAP: DcChar = DcChar::from_short(2454);
543/// Evaluates to the unit value without side effects (type Void). (Dc 2455).
544pub const DC_NO_OP: DcChar = DcChar::from_short(2455);
545/// Evaluates a tagged scrutinee expression (enum, option/T, or result/T) and dispatches to the matching Dc 2458 case arm or optional trailing fallback expression. (Dc 2456).
546pub const DC_BEGIN_MATCH: DcChar = DcChar::from_short(2456);
547/// Terminates a match expression begun by Dc 2456. (Dc 2457).
548pub const DC_END_MATCH: DcChar = DcChar::from_short(2457);
549/// Defines one variant arm of a Dc 2456 match expression with variant tag identifier, optional payload binding type, optional payload binding identifier, and arm body expression. (Dc 2458).
550pub const DC_MATCH_CASE_ARM: DcChar = DcChar::from_short(2458);
551/// Unwraps ok/some from a result/T or option/T operand expression, or returns early from the enclosing routine on err/none. (Dc 2459).
552pub const DC_PROPAGATE_OP: DcChar = DcChar::from_short(2459);
553/// Checked numeric addition of two operands of matching type; faults on overflow. (Dc 2512).
554pub const DC_ADD_OP: DcChar = DcChar::from_short(2512);
555/// Checked subtraction of the second operand from the first operand; faults on overflow. (Dc 2513).
556pub const DC_SUB_OP: DcChar = DcChar::from_short(2513);
557/// Checked numeric multiplication of two operands of matching type; faults on overflow. (Dc 2514).
558pub const DC_MUL_OP: DcChar = DcChar::from_short(2514);
559/// Checked truncated division of the first operand by the second operand; faults on division by zero or signed minimum divided by -1. (Dc 2515).
560pub const DC_DIV_OP: DcChar = DcChar::from_short(2515);
561/// Checked truncated remainder of dividing the first operand by the second operand; faults on zero divisor or signed minimum modulo -1. (Dc 2516).
562pub const DC_REM_OP: DcChar = DcChar::from_short(2516);
563/// Checked arithmetic negation of a signed operand; faults on two's-complement minimum value. (Dc 2517).
564pub const DC_NEG_OP: DcChar = DcChar::from_short(2517);
565/// Modular two's-complement addition wrapping modulo 2^width on fixed-width integers. (Dc 2518).
566pub const DC_WRAP_ADD_OP: DcChar = DcChar::from_short(2518);
567/// Modular two's-complement subtraction of the second operand from the first operand wrapping modulo 2^width. (Dc 2519).
568pub const DC_WRAP_SUB_OP: DcChar = DcChar::from_short(2519);
569/// Modular two's-complement multiplication wrapping modulo 2^width on fixed-width integers. (Dc 2520).
570pub const DC_WRAP_MUL_OP: DcChar = DcChar::from_short(2520);
571/// Bitwise conjunction of two integer operands of matching type. (Dc 2521).
572pub const DC_BIT_AND_OP: DcChar = DcChar::from_short(2521);
573/// Bitwise inclusive disjunction of two integer operands of matching type. (Dc 2522).
574pub const DC_BIT_OR_OP: DcChar = DcChar::from_short(2522);
575/// Bitwise exclusive disjunction of two integer operands of matching type. (Dc 2523).
576pub const DC_BIT_XOR_OP: DcChar = DcChar::from_short(2523);
577/// Bitwise ones'-complement inversion of an integer operand. (Dc 2524).
578pub const DC_BIT_NOT_OP: DcChar = DcChar::from_short(2524);
579/// Shifts the first integer operand left by the second u32 bit-count operand; faults if the shift count is greater than or equal to the bit width. (Dc 2525).
580pub const DC_SHL_OP: DcChar = DcChar::from_short(2525);
581/// Shifts the first integer operand right by the second u32 bit-count operand (logical zero-fill on unsigned types, arithmetic sign-extending on signed types); faults if the shift count is greater than or equal to the bit width. (Dc 2526).
582pub const DC_SHR_OP: DcChar = DcChar::from_short(2526);
583/// Bitwise left rotation of the first unsigned integer operand by the second u32 bit-count operand. (Dc 2527).
584pub const DC_ROTL_OP: DcChar = DcChar::from_short(2527);
585/// Bitwise right rotation of the first unsigned integer operand by the second u32 bit-count operand. (Dc 2528).
586pub const DC_ROTR_OP: DcChar = DcChar::from_short(2528);
587/// Counts leading zero bits in a fixed-width integer operand as a u32. (Dc 2529).
588pub const DC_CLZ_OP: DcChar = DcChar::from_short(2529);
589/// Counts trailing zero bits in a fixed-width integer operand as a u32. (Dc 2530).
590pub const DC_CTZ_OP: DcChar = DcChar::from_short(2530);
591/// Counts set one-bits in a fixed-width integer operand as a u32. (Dc 2531).
592pub const DC_POPCNT_OP: DcChar = DcChar::from_short(2531);
593/// Boolean negation of a boolean operand. (Dc 2532).
594pub const DC_LOGICAL_NOT_OP: DcChar = DcChar::from_short(2532);
595/// Short-circuiting boolean conjunction: evaluates the second operand only when the first operand is true. (Dc 2533).
596pub const DC_LOGICAL_AND_OP: DcChar = DcChar::from_short(2533);
597/// Short-circuiting boolean disjunction: evaluates the second operand only when the first operand is false. (Dc 2534).
598pub const DC_LOGICAL_OR_OP: DcChar = DcChar::from_short(2534);
599/// Tests whether two operands of matching type are equal (including structural element-wise equality on immutable lists). (Dc 2535).
600pub const DC_EQ_OP: DcChar = DcChar::from_short(2535);
601/// Tests whether two operands of matching type are not equal. (Dc 2536).
602pub const DC_NE_OP: DcChar = DcChar::from_short(2536);
603/// Tests whether the first operand is strictly less than the second operand. (Dc 2537).
604pub const DC_LT_OP: DcChar = DcChar::from_short(2537);
605/// Tests whether the first operand is less than or equal to the second operand. (Dc 2538).
606pub const DC_LE_OP: DcChar = DcChar::from_short(2538);
607/// Tests whether the first operand is strictly greater than the second operand. (Dc 2539).
608pub const DC_GT_OP: DcChar = DcChar::from_short(2539);
609/// Tests whether the first operand is greater than or equal to the second operand. (Dc 2540).
610pub const DC_GE_OP: DcChar = DcChar::from_short(2540);
611/// Converts the first operand's numeric value to the target type specified by the second operand (lossless when widening, faulting when outside the target type's range). (Dc 2541).
612pub const DC_CONVERT_OP: DcChar = DcChar::from_short(2541);
613/// Reinterprets the raw bit pattern of the first fixed-width integer operand as a same-width integer of the target type specified by the second operand. (Dc 2542).
614pub const DC_BITCAST_OP: DcChar = DcChar::from_short(2542);
615/// Returns the element count of a sequence or buffer as a u64. (Dc 2543).
616pub const DC_SEQ_LEN_OP: DcChar = DcChar::from_short(2543);
617/// Reads the element of the first sequence/buffer operand at the zero-based u64 index given by the second operand; faults when out of bounds. (Dc 2544).
618pub const DC_SEQ_GET_OP: DcChar = DcChar::from_short(2544);
619/// Extracts the half-open sub-sequence [start..end) from the first operand using the second (start) and third (end) u64 index operands; faults unless start <= end <= length. (Dc 2545).
620pub const DC_SEQ_SLICE_OP: DcChar = DcChar::from_short(2545);
621/// Returns a new immutable sequence containing all elements of the first operand followed by all elements of the second operand. (Dc 2546).
622pub const DC_SEQ_CONCAT_OP: DcChar = DcChar::from_short(2546);
623/// Projects the zero-based compile-time integer slot index from an n-ary tuple or positional struct. (Dc 2547).
624pub const DC_GET_POSITIONAL_FIELD_OP: DcChar = DcChar::from_short(2547);
625/// Evaluates the base tuple or positional struct expression then the replacement expression, returning a new value with the zero-based slot replaced. (Dc 2548).
626pub const DC_WITH_POSITIONAL_FIELD_OP: DcChar = DcChar::from_short(2548);
627/// Projects the named field specified by the second identifier operand from the first named-struct expression. (Dc 2549).
628pub const DC_GET_NAMED_FIELD_OP: DcChar = DcChar::from_short(2549);
629/// Evaluates the base named-struct expression then the replacement expression, returning a new struct value with the named field replaced. (Dc 2550).
630pub const DC_WITH_NAMED_FIELD_OP: DcChar = DcChar::from_short(2550);
631/// Wraps an underlying representation expression into the target brand or in-module opaque nominal type. (Dc 2551).
632pub const DC_WRAP_NOMINAL_OP: DcChar = DcChar::from_short(2551);
633/// Extracts the underlying representation value from a brand or in-module opaque nominal value expression. (Dc 2552).
634pub const DC_UNWRAP_NOMINAL_OP: DcChar = DcChar::from_short(2552);
635/// Total numeric addition: returns result/T on bounded fixed-width integers (err on overflow) and exact T on arbitrary-precision int and rat. (Dc 2553).
636pub const DC_TOTAL_ADD_OP: DcChar = DcChar::from_short(2553);
637/// Total numeric subtraction: returns result/T on bounded fixed-width integers (err on overflow) and exact T on arbitrary-precision int and rat. (Dc 2554).
638pub const DC_TOTAL_SUB_OP: DcChar = DcChar::from_short(2554);
639/// Total numeric multiplication: returns result/T on bounded fixed-width integers (err on overflow) and exact T on arbitrary-precision int and rat. (Dc 2555).
640pub const DC_TOTAL_MUL_OP: DcChar = DcChar::from_short(2555);
641/// Total numeric division: returns result/T (err on zero divisor, or signed MIN / -1 on fixed-width integers; truncating toward zero on integers, exact reduced quotient on rat). (Dc 2556).
642pub const DC_TOTAL_DIV_OP: DcChar = DcChar::from_short(2556);
643/// Total Euclidean modulo on integers: returns result/T with remainder r satisfying 0 <= r < |rhs| (err on zero divisor; ok 0 for signed MIN mod -1). (Dc 2557).
644pub const DC_TOTAL_MOD_OP: DcChar = DcChar::from_short(2557);
645/// Total truncating remainder on integers: returns result/T matching truncating division (err on zero divisor; ok 0 for signed MIN truncRem -1). (Dc 2558).
646pub const DC_TOTAL_TRUNC_REM_OP: DcChar = DcChar::from_short(2558);
647/// Total arithmetic negation: returns result/T on bounded signed integers (err on two's-complement MIN) and exact T on int and rat. (Dc 2559).
648pub const DC_TOTAL_NEG_OP: DcChar = DcChar::from_short(2559);
649/// Total bitwise left shift of a fixed-width integer by a u32 bit count, returning result/T (err if count >= bit width). (Dc 2560).
650pub const DC_TOTAL_SHL_OP: DcChar = DcChar::from_short(2560);
651/// Total bitwise right shift of a fixed-width integer by a u32 bit count (logical on unsigned, arithmetic on signed), returning result/T (err if count >= bit width). (Dc 2561).
652pub const DC_TOTAL_SHR_OP: DcChar = DcChar::from_short(2561);
653/// Converts the first numeric operand to the target type: infallible T when strictly widening, or result/T when narrowing or bounds-checked. (Dc 2562).
654pub const DC_TOTAL_CONVERT_OP: DcChar = DcChar::from_short(2562);
655/// Reads the element of a sequence or buffer at a zero-based u64 index, returning option/Elem (none when out of bounds). (Dc 2563).
656pub const DC_TOTAL_SEQ_GET_OP: DcChar = DcChar::from_short(2563);
657/// Extracts half-open sub-sequence [start..end) using u64 indices, returning option/Seq (none unless start <= end <= length). (Dc 2564).
658pub const DC_TOTAL_SEQ_SLICE_OP: DcChar = DcChar::from_short(2564);
659/// Overwrites a linear un-frozen StageR buffer at a zero-based u64 index, returning result/void (err outOfBounds when index >= length). (Dc 2565).
660pub const DC_TOTAL_BUF_SET_OP: DcChar = DcChar::from_short(2565);
661/// Tests whether an option/T operand holds a present some value. (Dc 2566).
662pub const DC_OPTION_IS_SOME_OP: DcChar = DcChar::from_short(2566);
663/// Tests whether an option/T operand is none. (Dc 2567).
664pub const DC_OPTION_IS_NONE_OP: DcChar = DcChar::from_short(2567);
665/// Tests whether a result/T operand holds a success ok value. (Dc 2568).
666pub const DC_RESULT_IS_OK_OP: DcChar = DcChar::from_short(2568);
667/// Tests whether a result/T operand holds a failure err value. (Dc 2569).
668pub const DC_RESULT_IS_ERR_OP: DcChar = DcChar::from_short(2569);
669/// Evaluates an option/T or result/T expression and a fallback T expression, returning the unwrapped payload or the fallback value. (Dc 2570).
670pub const DC_UNWRAP_OR_OP: DcChar = DcChar::from_short(2570);
671/// Converts an option/T operand into result/T, mapping some v to ok v and none to err of the second error operand. (Dc 2571).
672pub const DC_OPTION_OK_OR_OP: DcChar = DcChar::from_short(2571);
673/// Returns the encoded DcMixed payload byte length of an s (DcMst) value as a u64. (Dc 2572).
674pub const DC_BYTE_LEN_OP: DcChar = DcChar::from_short(2572);
675/// Parameterized immutable value-semantics StageL list type l/T over element type T. (Dc 2576).
676pub const DC_STAGEL_LIST_TYPE: DcChar = DcChar::from_short(2576);
677/// Parameterized mutable local StageL buffer type buf/T over element type T for linear-time construction and O(1) indexed updates. (Dc 2577).
678pub const DC_STAGEL_BUF_TYPE: DcChar = DcChar::from_short(2577);
679/// Constructs an immutable StageL list of the specified element type from zero or more evaluated element expressions. (Dc 2578).
680pub const DC_BEGIN_STAGEL_LIST: DcChar = DcChar::from_short(2578);
681/// Terminates a StageL list constructor begun by Dc 2578. (Dc 2579).
682pub const DC_END_STAGEL_LIST: DcChar = DcChar::from_short(2579);
683/// Allocates an empty mutable StageL buffer of the specified element type with initial u64 capacity given by the second operand. (Dc 2580).
684pub const DC_STAGEL_BUF_NEW: DcChar = DcChar::from_short(2580);
685/// Allocates a mutable StageL buffer initialized with copies of the first element-value operand repeated to the u64 length given by the second operand. (Dc 2581).
686pub const DC_STAGEL_BUF_FILL: DcChar = DcChar::from_short(2581);
687/// Appends the second element operand to the end of the first mutable StageL buffer operand in amortized O(1) time; faults if the buffer has been frozen. (Dc 2582).
688pub const DC_STAGEL_BUF_PUSH: DcChar = DcChar::from_short(2582);
689/// Appends all elements of the second immutable list operand to the end of the first mutable StageL buffer operand; faults if the buffer has been frozen. (Dc 2583).
690pub const DC_STAGEL_BUF_EXTEND: DcChar = DcChar::from_short(2583);
691/// Overwrites the element of the first mutable StageL buffer operand at the zero-based u64 index (second operand) with the third operand in O(1) time; faults if out of bounds or frozen. (Dc 2584).
692pub const DC_STAGEL_BUF_SET: DcChar = DcChar::from_short(2584);
693/// Freezes a mutable StageL buffer into an immutable l/T list in O(1) zero-copy time and marks the buffer handle frozen against subsequent mutation. (Dc 2585).
694pub const DC_STAGEL_BUF_FREEZE: DcChar = DcChar::from_short(2585);
695/// Compiles the quoted Dc document inside [string] (Dc 260..Dc 261) into an executable WASM program (Dc 1927..Dc 1928) without executing the target program. (Dc 2608).
696pub const DC_CONVERT_DC_STRING_TO_WASM: DcChar = DcChar::from_short(2608);
697/// Constructs a canonical reduced rational rat from numerator int and denominator int, returning result/rat (err divisionByZero when denominator is 0). (Dc 2609).
698pub const DC_MAKE_RAT_OP: DcChar = DcChar::from_short(2609);
699/// Constructs a dc Document Character directly from its raw 128-bit numeric identifier (infallible u128 -> dc; all 0..=2^128-1 values, including UTF-16 surrogate codepoints, are valid Document Characters). (Dc 2610).
700pub const DC_DC_FROM_U128_OP: DcChar = DcChar::from_short(2610);
701/// Extracts the raw 128-bit numeric identifier of a dc value as an infallible u128. (Dc 2611).
702pub const DC_U128_FROM_DC_OP: DcChar = DcChar::from_short(2611);
703/// Validates that an s (DcMst) value contains no encapsulated binary runs, returning result/dcs (err invalidEncoding if binary segments are present). (Dc 2612).
704pub const DC_DCS_FROM_S_OP: DcChar = DcChar::from_short(2612);
705/// Widens a pure-character dcs string infallibly into a mixed-mode s (DcMst) string. (Dc 2613).
706pub const DC_S_FROM_DCS_OP: DcChar = DcChar::from_short(2613);
707/// Splits a sequence (l/T, dcs, or s) around non-overlapping occurrences of the first separator operand, returning l/Seq. (Dc 2614).
708pub const DC_SEQ_EXPLODE_OP: DcChar = DcChar::from_short(2614);
709/// Concatenates a list of sequences (l/l/T, l/dcs, or l/s) interspersed with the first separator operand, returning Seq. (Dc 2615).
710pub const DC_SEQ_IMPLODE_OP: DcChar = DcChar::from_short(2615);
711/// Requests a host capability payload (l/u8 -> l/u8 in StageL 3, s -> result/s in StageR 3) by yielding to the bootstrap kernel host ABI. (Dc 2616).
712pub const DC_REQUEST_HOST_CAPABILITY_OP: DcChar = DcChar::from_short(2616);
713/// Fixed-slot n-ary tuple type parameterized by a Dc 310..Dc 311 list of slot types. (Dc 2672).
714pub const DC_TYPE_TUPLE: DcChar = DcChar::from_short(2672);
715/// References a declared positional or named struct type by identifier or resolved graph Dc. (Dc 2673).
716pub const DC_TYPE_STRUCT: DcChar = DcChar::from_short(2673);
717/// Parameterized optional value type option/T with variants none and some T. (Dc 2674).
718pub const DC_TYPE_OPTION: DcChar = DcChar::from_short(2674);
719/// Parameterized fallible result type result/T with variants ok T and err error. (Dc 2675).
720pub const DC_TYPE_RESULT: DcChar = DcChar::from_short(2675);
721/// Structured non-panicking StageR diagnostic error value type. (Dc 2676).
722pub const DC_TYPE_ERROR: DcChar = DcChar::from_short(2676);
723/// Immutable bounds-checked read-only window handle over a host-managed streaming extent. (Dc 2677).
724pub const DC_TYPE_VIEW: DcChar = DcChar::from_short(2677);
725/// Immutable value-typed cursor advancing functionally over a host-managed extent view. (Dc 2678).
726pub const DC_TYPE_CURSOR: DcChar = DcChar::from_short(2678);
727/// References a declared StageR brand, module-opaque type, or enum type by identifier or resolved graph Dc. (Dc 2679).
728pub const DC_TYPE_NOMINAL: DcChar = DcChar::from_short(2679);
729
730/// Converts a short Document Character (Dc) ID to its long (Global Graph) ID.
731#[must_use]
732pub fn short_to_long_dc(short_id: u32) -> u128 {
733    SHORT_DC_REGION_START.saturating_add(u128::from(short_id))
734}
735
736/// Converts a long (Global Graph) Document Character ID to its short Dc ID, if within short range.
737#[must_use]
738pub fn long_to_short_dc(dc_id: u128) -> Option<u32> {
739    if (SHORT_DC_REGION_START..=SHORT_DC_REGION_END).contains(&dc_id) {
740        u32::try_from(dc_id.saturating_sub(SHORT_DC_REGION_START)).ok()
741    } else {
742        None
743    }
744}