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 the canonical public Program model. 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;
  • format — canonical number formatting for computed Workshop values;
  • actions, events, rules, values, settings, and gameplay — the discoverable Workshop domains;
  • program — the canonical public Workshop program model;
  • parser, validate, convert, roundtrip, and emitter — the public Workshop operations over that model;

The catalog is locale-independent at the identity layer: analyzer and 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::ProvenanceError;
pub use program::Rule;
pub use program::Subroutine;
pub use program::Value;
pub use program::Variable;

Modules§

actions
The Workshop action domain.
catalog
The canonical Workshop catalog.
convert
Public complete-program locale conversion over crate::Program.
detect
Supported crate-root entry point for Workshop locale detection.
emitter
Public complete-program Workshop emission over crate::Program.
events
The Workshop event domain.
format
Canonical numeric formatting used for computed Workshop values.
gameplay
Canonical hero and ability gameplay data.
parser
Public raw Workshop parsing operation over the canonical crate::Program.
program
Canonical Workshop program concepts.
roundtrip
Public complete-program round-trip comparison over crate::Program.
rules
The Workshop rule and declaration domain.
settings
The neutral settings carrier.
signatures
Supported parse-context contract for resolving ambiguous Workshop enums.
source
Public authored-source and span metadata types.
validate
Public cross-domain canonical validation over crate::Program.
values
The Workshop value and expression domain.

Structs§

CatalogError
Catalog-specific error.

Enums§

WorkshopError
A structured Workshop-language error.