Fast. Simple. Web-Ready. Created by Ankit Bishnoi (ankitkhileryy) · GitHub · v0.1.0
Akro is created and maintained by Ankit Bishnoi (GitHub: ankitkhileryy), a 19-year-old developer from India.
Akro is a modern programming language that combines:
- 🐍 Python's simplicity — clean, readable syntax
- ⚡ Go's speed — fast execution, fast startup
- 🌐 JavaScript's web power — transpiles to JS, runs in browser
fn main {
name := "World"
say "Hello, {name}!"
nums := [1, 2, 3, 4, 5]
total := reduce(nums, fn(a, b) { return a + b }, 0)
say "Sum = {total}"
}
Windows:
# Run as Administrator
.\install.ps1From source (requires Go 1.21+):
git clone https://github.com/ST/akro
cd akro/src
go build -o akro.exe .akro run main.ak # Run a file
akro repl # Interactive shell
akro transpile main.ak # Convert to JavaScript
akro check main.ak # Type check
akro fmt main.ak # Format code
akro version # Show version// Variables (type inferred)
x := 10
name := "Akro"
// Functions
fn add(a, b) {
return a + b
}
// If / Elif / Else
if x > 5 {
say "big"
} elif x == 5 {
say "equal"
} else {
say "small"
}
// Loops
for i in 0..10 {
say "i = {i}"
}
// Structs
struct Point {
x: int
y: int
}
// Pattern matching
match x {
case 1 => say "one"
case 2 | 3 => say "two or three"
default => say "other"
}
// Error handling
try {
throw "oops"
} catch(e) {
say "Caught: {e}"
}
// Async/Await
async fn fetchData(url) {
data := await http_get(url)
return data
}
Akro transpiles to JavaScript — write Akro, run in browser:
// app.ak
fn main {
btn := document.getElementById("btn")
btn.onclick = fn {
say "Hello from Akro!"
}
}
akro transpile app.ak # → app.js<script src="app.js"></script>| Feature | Akro | Python | JavaScript | Go |
|---|---|---|---|---|
| Simple syntax | ✅ | ✅ | ❌ | ❌ |
| Fast execution | ✅ | ❌ | ✅ | ✅ |
| Web support | ✅ | ❌ | ✅ | ❌ |
| Type inference | ✅ | ❌ | ❌ | ✅ |
| String interpolation | ✅ | ✅ | ✅ | ❌ |
| Pattern matching | ✅ | ✅ | ❌ | ❌ |
| No semicolons | ✅ | ✅ | ❌ | ❌ |
- v0.1.0 — Interpreter, JS transpiler, REPL, builtins
- v0.2.0 — VS Code extension, npm/pip package, stdlib
- v0.3.0 — Native compiler, package manager, playground
- v1.0.0 — Stable release
Contributions welcome! Please read CONTRIBUTING.md first.
MIT License — Copyright (c) 2026 Ankit Bishnoi (ankitkhileryy)
Akro is an original language created by Ankit Bishnoi from India. GitHub: https://github.com/ankitkhileryy See LICENSE for details.
Akro — Fast. Simple. Web-Ready.
Created with by Ankit Bishnoi (ankitkhileryy) · India · 19