AKlang is a fun, desi-college-themed programming language designed to feel like you're coding straight from a class with your gang. With keywords like class chalu, note kar, proxy mili toh, and agli class, it mixes meme culture and Hindi College slang with basic programming constructs to make coding more expressive, nostalgic, and relatable.
Official Website - https://aklang.vercel.app/
-
Dramatic Hindi syntax (because normal is boring)
-
Supports:
- Variable declarations
- Arithmetic expressions
- Print statements
- If-else conditions
- While loops
-
Friendly error messages
-
Extensible and easy to play with
class chalu
bol "Hello World";
note kar a = 1;
note kar b = 0;
jab tak (b < 5) {
bol b;
proxy mili toh (b == a) {
bol "b is equal to a";
agli class;
} nahi mili toh (b == 0) {
bol "b is equal to zero";
} pakde gaye {
bol "b is neither a nor 0";
}
b += 1;
}
class khatamnpm i -g aklang
Edit the file with a text editor. You can also try out your code on AKLANG PlayGround
class chalu
bol "All iz Well";
class khatam
aklang test.ak
All iz Well
| Concept | aklang Syntax | Description |
|---|---|---|
| Program Start | class chalu |
Entry point |
| Program End | class khatam |
Exit point |
| Variable Declare | note kar x = 10 |
Declare variable |
bol "hello" |
Print output | |
| If Condition | proxy mili toh (condition) { ... } |
If block |
| Else If Condition | nahi mili toh (condition) { ... } |
Else If block |
| Else | pakde gaye { ... } |
Else block |
| While Loop | jab tak (condition) {} |
While loop |
| Boolean True | pass |
true |
| Boolean False | fail |
false |
| Break Loop | bunk maar |
break |
| Break Loop | agli class |
continue |
- [✅] Parser
- [✅] Interpreter
- [✅] Conditionals & loops
- [✅] Web playground
- [✅] Error handling enhancements
- Functions
- Arrays
Feel free to open issues or PRs. Go ahead! 🎉
MIT – because sharing is caring.
Inspired by:
- Bhailang - Greatly Inspired by them
- All Indian coders who learned
if-elsebefore they learned to say "Tu sahi bol raha hai."