Language Reference
A comprehensive guide to the XXML programming language syntax and features.
Syntax
Basic syntax rules, keywords, and program structure
Types
Primitive types, strings, arrays, and custom types
Ownership
Memory management with owned, reference, and copy modifiers
Generics
Generic templates with type constraints
Classes
Object-oriented programming with classes and inheritance
Lambdas
Anonymous functions and closures
Overview
XXML is a statically-typed, compiled language that combines the performance of systems programming with modern language features. Key characteristics include:
- Explicit ownership - Memory management through
^owned,&reference, and%copymodifiers - Generic templates - Type-safe generics with constraint support
- Object-oriented - Classes, inheritance, and access modifiers
- Functional features - Lambda expressions with capture semantics
- LLVM backend - Compiles to native code via LLVM IR