WCL
◐ Theme
Overview
Quick Start
Language
Basic Syntax
What WCL Is
Comments
Fields
Blocks
Tables
self & parent
Primitive Types
Numbers
Number literals
Numeric Promotion
Literal Units
Literal unit syntax
Booleans
Identifiers
References
Symbols
Symbol Sets
Strings
String Literals
String Interpolation
Complex Types
Lists
Tensors
Records
Unions
Interfaces
Optionals
Expressions & Operators
Member Access
Function Calls
Operators
Control Flow
if / else
match
if let
let bindings
Block Expressions
try / catch
Patterns
Functions
Function Literals
fn Items
Higher-order Functions
Function Types
Builtin functions
All functions (A–Z)
Collection functions
String functions
Path & glob functions
Math functions
Record functions
Reflection functions
Tensor functions
Control & error functions
Namespaces & Imports
Namespaces
use Declarations
Qualified Block Kinds
Imports & Modules
Schema & Decorators
Block Schema
Document Schema
Referential Integrity
Child-count Constraints
Type Aliases
Type & field constraints
@document
@block
@inline
@child
@children
@default
@table
@decorator
@doc
@by_ref
@only / @except
@connections
Connections
Connections
Tasks
Validate and format a WCL file
Inspect and edit values with eval, set and diff
Scaffold a new project with wcl init
Upgrade a document when WCL moves
CLI Reference
wcl parse
wcl check
wcl eval
wcl set
wcl answer
wcl fmt
wcl diff
wcl init
wcl repl
wcl lsp
wcl wdoc
wcl wdoc build
wcl wdoc skill
wcl wdoc pdf
wcl wdoc serve
wcl lsp
Run the WCL language server over stdio (for editor integrations).
console
wcl lsp
← wcl repl
wcl wdoc →