WCL
Summary
A typed configuration and schema language: records, unions, interfaces, decorators, and a document model that gathers and validates structured data.
| Version | 0.24.1-alpha |
| Created | 2026-06-20 |
| Last updated | — |
| Maintainer | ai@wiltaylor.dev |
WCL is a strongly-typed configuration language. You declare record types with the type keyword, give them constraints and defaults with prefix decorators (@default, @min, @block, @inline, …), and compose a document whose root @document type gathers every block instance for validation and projection. Values range over a rich primitive set (integers with bit-width suffixes, floats, UTF-8 strings with heredocs and interpolation, symbols, booleans, identifiers) and composites (lists, tensors, pipe-tables, optionals, unions, references). The wcl CLI parses, checks, evaluates, formats and scaffolds WCL, and drives the wdoc static-site / skill generator.
§ 1Artifacts
The views this wskill ships — build them with just render (or the per-view recipes).
| View | Entry | Output |
|---|---|---|
| book | wdoc/book/main.wcl | out/book |
| ai skill | wdoc/skill/main.wcl | out/skill |
| presentation | wdoc/presentation/main.wcl | out/presentation |
| training | wdoc/training/main.wcl | out/training |
| Name | Relation | Status | Source |
|---|---|---|---|
| wdoc | wdoc is WCL's document/projection system, driven by the wcl CLI | exists | — |
§ 3Sources
Sources drive the update workflow only — they are not topic content.
| ID | Kind | Locator | Covers | Last checked | Reflects version |
|---|---|---|---|---|---|
| wcl_docs | docs | /home/wil/dev/WCL/docs/pages/reference | The authoritative WCL reference site: a page per language feature, the CLI, and builtins. | 2026-06-20 | 0.24.1-alpha |
| wcl_repo | repo | /home/wil/dev/WCL | Source of truth for WCL: the parser, evaluator, CLI, and wdoc stdlib (crates/wcl_wdoc/lib). | 2026-06-20 | 0.24.1-alpha |
| wcl_cli | cli | wcl --help | Subcommand help text for parse/check/eval/set/fmt/repl/lsp/init/wdoc/diff. | 2026-06-20 | 0.24.1-alpha |