Docs / Language
Language snapshot — Xu 0.8.8
| Functions and packages | Top-level fn, methods, @main, multi-file packages, pub visibility, slash-path declarations/imports and domain module identities. |
|---|---|
| Variables and numeric types | Immutable-by-default := bindings, mut, compound assignment; int/bool/f64/i32/u32/u8/byte; hexadecimal/binary literals and numeric separators. |
| Aggregate types | string, []T, [N]T, struct, enum, map, chan, any/temp, and struct@ method sets. |
| Generic code | Compile-time #/@ parameters, constraints and monomorphized function/method implementations. |
| Control and errors | if/else, for, while, match; << return, <<< exit, >> throw, or handling/rethrow, <- break, -> continue, and colon ranges. |
| Ownership and resources | Moves, shared &T and exclusive &mut T borrows, affine File/Conn resources, deterministic scope cleanup. |
| Concurrency | xu f(args), typed channels, buffered/unbuffered communication, close, and select. Platform runtime support is checked separately. |
| Toolchain and dependencies | Native AOT, WebAssembly (wasm32) emission, standalone native Setup installers, module manifests, MVS, proxies, locks/vendor, offline/frozen builds and trusted-key checksum-log verification. |