Hades is a custom programming language built as a passion project. It features a familiar C-style syntax with semicolons and braces, static type annotations, first-class functions with lexical scoping, classes with operator overloading, and both mutable lists and immutable records. WriteDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/ToberlerOhn/hades/llms.txt
Use this file to discover all available pages before exploring further.
.hds files and run them directly with the Python-based interpreter.
Installation
Set up the Hades interpreter and VS Code extension on your machine.
Quickstart
Write and run your first Hades program in minutes.
Language Guide
Explore variables, types, control flow, functions, classes, and more.
Reference
Complete keyword, built-in, operator, and truthiness reference.
What is Hades?
Hades combines the readability of a modern scripting language with enforced type discipline. Every variable declaration includes a type hint, every function signature specifies parameter and return types, and the interpreter enforces these at runtime. The result is a language that catches type mismatches early and produces descriptive error messages with source-location pointers.Type Hints
Declare variables with
int, float, bool, str, list, or nothing — types are checked at assignment.Functions & Closures
Define named functions with typed parameters, return types, and lexical scope capture.
Classes
Build classes with
creator constructors, method definitions, and operator overloading via operator.Control Flow
if/else if/else, while, do-while, C-style for, and for-in iteration over lists and strings.Lists & Records
Mutable
list types with index access (list->i) and immutable record sequences.VS Code Extension
Syntax highlighting for
.hds and .hd files via the hades-language VS Code extension.