Skip to main content

Module parser

Module parser 

Source
Expand description

Native localized Workshop parser.

Parses vanilla Workshop text directly into validated, locale-independent Workshop IR. Localized actions, values, events, enums, and structural keywords resolve through the canonical catalog; malformed input, unknown spellings, and recognized-but-unsupported constructs are reported as distinct structured diagnostics with source spans.

Functions§

parse
Parse localized Workshop text into Workshop IR with no signature context: ambiguous bare enum members (e.g. the None shared by several domains) stay rejected. See parse_with_context for the context-sensitive form.
parse_with_context
Parse localized Workshop text into Workshop IR, resolving ambiguous bare enum members from the enclosing call’s canonical signature context (#111).