workshop_rs/lib.rs
1//! The canonical multi-locale Overwatch Workshop semantic core.
2//!
3//! `workshop-rs` owns the Workshop-language foundation of the WrightKit
4//! ecosystem: canonical Workshop semantics, the catalog of Workshop-defined
5//! content, the raw Workshop frontend, validation, deterministic emission,
6//! and Workshop IR. It is standalone and MIT-licensed; it has no dependency on
7//! Wright tooling crates or on any source-language provider implementation.
8//!
9//! * [`catalog`] — the canonical Workshop catalog: stable, locale-independent
10//! semantic identities, kinds, parameters, and locale tables binding
11//! identities to client spellings; catalog version/digest identity and
12//! per-locale coverage;
13//! * [`actions`], [`events`], [`rules`], [`values`], [`settings`], and
14//! [`gameplay`] — the discoverable Workshop domains;
15//! * [`wir`] — the Workshop IR model (locale-independent semantic
16//! representation) with its arena/source/settings support;
17//! * [`parser`] and [`emitter`] — compatibility paths for the shared frontend
18//! and output boundaries;
19//! * [`census`], [`conformance`], [`live_capture`], and [`real_projects`] —
20//! compatibility paths for the separate evidence support tree.
21//!
22//! The catalog is locale-independent at the identity layer: analyzer and WIR
23//! APIs never need locale-specific strings to identify a builtin. Locale
24//! coverage is data, declared in the catalog dataset
25//! ([`catalog::Catalog`], [`docs/adr/0001-catalog-boundaries.md`](https://github.com/wrightkit/workshop-rs/blob/main/docs/adr/0001-catalog-boundaries.md)).
26
27pub mod actions;
28mod analysis;
29pub mod arena;
30pub mod catalog;
31pub mod census;
32pub mod conformance;
33pub mod convert;
34mod core;
35pub mod detect;
36pub mod element_count;
37pub mod emitter;
38mod error;
39pub mod events;
40mod evidence;
41pub mod format;
42mod frontend;
43pub mod gameplay;
44pub mod gameplay_data;
45pub mod gameplay_query;
46pub mod ids;
47pub mod lexer;
48pub mod live_capture;
49mod output;
50pub mod parser;
51pub mod real_projects;
52pub mod roundtrip;
53pub mod rules;
54pub mod semantic;
55pub mod settings;
56pub mod signatures;
57pub mod source;
58pub mod validate;
59pub mod values;
60pub mod wir;
61
62pub use error::{CatalogError, WorkshopError};