Gradual typing
Start flexible. Add annotations when you need contracts and clarity.
any · int · string · union
HEXOLANGGitHub ↗A modern scripting language. A low-level soul.
Written entirely in x86-64 Assembly.

Hexolang is a gradually typed scripting language designed to bring modern developer ergonomics to a runtime built close to the metal.
From tokenization and parsing to memory and native APIs, every layer is a chance to understand what makes a language tick.
Start flexible. Add annotations when you need contracts and clarity.
any · int · string · unionFunctions as values, callbacks and closures with lexical environments.
fn · lambda · closureClasses, structs, inheritance, methods and static members.
class · struct · extendsConnect to the OS, file system, databases, web and multimedia.
native APIs · C extensionsA straightforward interpreter pipeline, powered by a runtime written in Assembly.
Hexolang source is evaluated by the interpreter directly. The runtime owns values, functions, memory, and platform interfaces.
Readable, familiar building blocks that leave room to grow from scripting to structured code.
fn greet(string name) -> string {
return "Hello, " + name;
}
print(greet("World"));A growing standard library reaches from everyday data to graphics, databases and the operating system.
Learn the language. Explore the internals.
Follow the project as it evolves.