Documentation and tutorials for the Univrs ecosystem.
Live Site: learn.univrs.io
The Design Ontology Language (DOL) is a specification-first language for ontology-driven development.
gene hello.world {
message has content
message has sender
message has timestamp
}
exegesis {
The hello.world gene defines a message entity with three
essential properties: content, sender, and timestamp.
}
cargo install dolLearn DOL from first principles:
- Hello DOL - First specification
- Values and Types - Type system
- Functions - Methods and standalone functions
- Control Flow - Conditionals, loops, pattern matching
- Collections - Lists, Maps, functional operations
- Traits and Constraints - Behaviors and invariants
- Error Handling - Option, Result
- Modules and Imports - Code organization
Master the declarative syntax:
- Genes and Types
- Defining Traits
- System Modules
- Constraints and Rules (
forall,exists) - Version Evolution
- Exegesis Documentation
- v0.3.0 New Features (HIR,
type,extends,val/var)
Build secure WebAssembly programs for VUDO:
- VUDO Platform Architecture
- Spirit Manifests (TOML)
- Capability-Based Security (14 capability types)
- Runtime Modules
Master the command-line interface:
- Project Creation (
vudo new) - Build and Run
- Signing Spirits (Ed25519)
- Registry Operations (Imaginarium)
Build a complete Spirit from DOL to deployment:
- Define the Ontology
- Create Spirit Project
- Image Generation (AI APIs)
- Narrative Engine
- Credit Integration (Mycelial economics)
- Testing and Quality
- Sign and Publish
| Feature | Description |
|---|---|
| Genes | Define properties and data structures |
| Traits | Define behaviors and capabilities |
| Constraints | Enforce invariants with forall/exists |
| Systems | Compose genes, traits, and constraints |
| Evolution | Version and migrate specifications |
| SEX | Side Effect System for controlled mutability |
| Generics | Type parameters with bounds |
| Pattern Matching | Destructure and match data |
| Pipes | Function composition with |> and >> |
- HIR Complete - High-level Intermediate Representation (22 canonical node types, 365 tests)
- HIR Validation - Full type checking and scope resolution (1403 lines)
- HIR Codegen - Rust code generation from HIR (763 lines)
- Self-Validation - DOL files validate through full pipeline (10/10 passing)
val/var- Clear immutable vs mutable bindingstype- Standard type declarations (alongsidegene)
| Version | Focus | Status |
|---|---|---|
| v0.4.0 | HIR Types, Validation, Rust Codegen | ✅ Complete |
| v0.5.0 | MLIR Dialect, HIR → MLIR, WASM Emission | ✅ Complete |
| v0.7.0 | Live Compiler, Browser Editor, Execution Simulation | ✅ Shipped |
| v0.8.0 | MCP Server, Full Bootstrap, Spirit Runtime | 🎯 Next |
# Install dependencies
npm install
# Run development server
npm run dev
# Build for production
npm run build
# Deploy to GitHub Pages
npm run deploy- DOL Repository: github.com/univrs/dol
- DOL on Crates.io: crates.io/crates/dol
- API Documentation: docs.rs/dol
- This Site: learn.univrs.io
MIT