Skip to main content

Crate workshop_rs

Crate workshop_rs 

Source
Expand description

The canonical multi-locale Overwatch Workshop semantic core.

workshop-rs owns the Workshop-language foundation of the WrightKit ecosystem: canonical Workshop semantics, the catalog of Workshop-defined content, the raw Workshop frontend, validation, deterministic emission, and Workshop IR. It is standalone and MIT-licensed; it has no dependency on Wright tooling crates or on any source-language provider implementation.

  • catalog — the canonical Workshop catalog: stable, locale-independent semantic identities, kinds, parameters, and locale tables binding identities to client spellings; catalog version/digest identity and per-locale coverage;
  • actions, events, rules, values, settings, and gameplay — the discoverable Workshop domains;
  • wir — the Workshop IR model (locale-independent semantic representation) with its arena/source/settings support;
  • parser and emitter — compatibility paths for the shared frontend and output boundaries;

The catalog is locale-independent at the identity layer: analyzer and WIR APIs never need locale-specific strings to identify a builtin. Locale coverage is data, declared in the catalog dataset (catalog::Catalog, docs/adr/0001-catalog-boundaries.md).

Re-exports§

pub use program::Action;
pub use program::Condition;
pub use program::Event;
pub use program::EventTarget;
pub use program::EventTeam;
pub use program::ModifyOp;
pub use program::PlayerEventKind;
pub use program::Program;
pub use program::Rule;
pub use program::Subroutine;
pub use program::Value;
pub use program::Variable;

Modules§

actions
The Workshop action domain.
arena
Compatibility path for the shared arena infrastructure.
catalog
The canonical Workshop catalog.
convert
Compatibility path for complete-program locale conversion.
detect
Compatibility path for catalog-owned locale detection.
element_count
Compatibility path for cross-domain element counting.
emitter
Compatibility path for complete-program Workshop emission.
events
The Workshop event domain.
format
Compatibility path for shared Workshop formatting helpers.
gameplay
Canonical hero and ability gameplay data.
gameplay_data
Compatibility path for the gameplay data loader.
gameplay_query
Compatibility path for gameplay semantic queries.
ids
Compatibility path for shared typed identities.
lexer
Compatibility path for the shared raw Workshop lexer.
parser
Compatibility path for the shared raw Workshop parser.
program
Canonical Workshop program concepts.
roundtrip
Compatibility path for complete-program round-trip comparison.
rules
The Workshop rule and declaration domain.
semantic
Compatibility path for cross-domain semantic inspection.
settings
The neutral settings carrier.
signatures
Compatibility path for shared catalog signature helpers.
source
Compatibility path for shared source and span types.
validate
Compatibility path for cross-domain canonical validation.
values
The Workshop value and expression domain.
wir
The Workshop IR model.

Structs§

CatalogError
Catalog-specific error.

Enums§

WorkshopError
A structured Workshop-language error.