DocumentationDownloadCommunityContributeGitHubLogin
v1.0(beta) — Now Available

Code that reads
like thought.

Astra is a fast, expressive programming language built for clarity. One syntax. One data structure. Zero friction.

hello.astra
Astra VM Ready (Type 'exit' to quit) Astra [1] >> x = 10 Astra [2] >> write x 10 Astra [3] >> flag = maybe Astra [4] >> write flag MAYBE Astra [5] >> p:n(name, score) = ("Alice", 95) Astra [6] >> write p1:name Alice

Built different, on purpose.

Every decision in Astra exists to reduce mental overhead — so you spend time solving problems, not fighting syntax.

⛓️
Chains
One concept for arrays, structs, and JSON-like records. No imports, no boilerplate.
🔀
Tri-state Boolean
true, false, and maybe — built-in uncertainty for real-world logic.
♾️
Safe Division
Division by zero returns INFINITE. Your program keeps running.
Power Modules
Extend Astra with C++ plugins. Drop in a .power file, call it like a built-in.
🎯
Modifiers
Wrap any function with before/after behavior. Logging, auth, timing — clean and composable.
🛡️
Error Handling
Structured when/then blocks catch specific errors without crashing your program.

See Astra in action.

Explore the language feature by feature.

example.astra
\\ Variables & Constants x = 10 name = "Astra" const PI = 3.14159 \\ Tri-state boolean — unique to Astra! flag = maybe write flag \\ MAYBE
C++
Implementation
~165ms
fib(25) recursive
4-in-1
Array + Struct + OOP + JSON
MIT
Open Source