Dryad is a dynamic, multi-paradigm programming language built with C++. It features a flexible triple execution model (Tree-Walking Interpreter, Bytecode VM, and AOT Native Compiler), designed for clarity, safety, modularity, and high performance.
All formal language specifications, runtime architectures, and design axioms are documented in the official Dryad Conventions.
- JavaScript/TypeScript-Inspired Syntax: Intuitive syntax designed to minimize the learning curve.
- Triple Execution Engine: Seamless execution across an AST interpreter, stack-based Bytecode VM, and AOT native compiler.
- Oak Package Manager: Modular and standalone package management system.
- Standardized Diagnostics: Every error carries unique numeric codes, precise source locations, and actionable fix suggestions.
- Native Concurrency: Built-in primitives for OS threads,
async/await, and mutex synchronization. - Minimal Self-Hosting Runtime: Built-in standard library written in pure Dryad atop ~50 primitive syscall intrinsics powered by C++.
- Procedural: Top-level functions without mandatory OOP wrappers, ideal for scripting and automation.
- Object-Oriented: Full class support with encapsulation, access modifiers (
public,private,protected), and inheritance. - Functional: First-class functions, closures, pattern matching (
match), and expression-based control flow.
- 📜 Dryad Conventions & Formal Specification
- 📖 Syntax & Language Manual
- 🛠️ Developer Manual & Runtime Architecture
⚠️ Error System Guide- 📦 Native Modules Reference
Distributed under the MIT License.