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 using the catalog’s canonical call-signature context. Ambiguous bare enum members resolve when their enclosing call pins one matching domain; unpinned ambiguity remains a structured unsupported diagnostic. See parse_with_context when a consumer needs to provide additional signature context.
parse_with_context
Parse localized Workshop text into Workshop IR, resolving ambiguous bare enum members from the enclosing call’s canonical signature context (#111).