⚡ A bold, expressive, Gen Z-inspired programming language for the terminal generation.
It’s not just code. it’s a whole damn vibe.
genz-lang reimagines traditional programming through a Gen Z lens — with slangy keywords, emoji-rich syntax, and natural language expressions.
Built for fun, education, and creative chaos, this language is for developers who are tired of boring old semicolons and crave a bit of ✨drip✨ in their code.
Because:
print("hello world")is ✏️ mid — we sayyo "sup world"elseis old-school — we saynah:- Indexing with
@hits different than[0] - Errors should feel like being left on read
- Curious devs who love toy languages and creative DSLs
- Educators who want to teach core concepts in a fun way
- Rebels who think
vibe = "chill">let x = "chill"
If / Else but make it ✨chaotic
mood = "bored"
fr mood == "bored" ->
yo "let’s vibe 🎶"
nah:
yo "keep grinding 💻"Looping (aka infinite grindset ♾️)
loop 0 to 5 ->
yo "Counting vibes..."
<-Fibbonaci fibbo.gz
vibe fibbonaci(n) ->
a = 0
b = 1
loop 2 to n ->
yo a
temp = a + b
a = b
b = temp
<-
<-
fibbonaci(10)- Node.js 16+
- Bun
- Clone the repository
git clone https://github.com/genz-lang/genzlang.git
cd genzlang- Install dependencies
bun install
# or, if you want to install separately
# bun install --cwd web
# bun install --cwd core- Run the core(Interpreter)
bun run index.ts
# or, bun run dev:core- Run the web(Next.js)
bun run dev:web- Usage
bun run dev:core
yo "Wassup, world!"- Create & execute .gz file
#Create .gz file under examples folder
fibbo.gz
bun run GENZ examples/fibbo.gz #execute at root
#or
npm run GENZ examples/fibbo.gzGot ideas for:
More chaotic keywords? Cooler syntax? Gen Z style features?
- Fork the repository
- Create a branch:
git checkout -b feature/my-feature - Commit your changes:
git commit -m 'Add some feature' - Push to the branch:
git push origin feature/my-feature - Open a Pull Request
Pull up with a PR or open an issue. let’s build the weirdest language ever, together.
- Chevrotain for the PEG parser toolkit.
- Bun for the ultra-fast JS runtime.
- TypeScript for the type safety.
Made with ❤️ by the GenZ Lang team.
Report Bugs ·
Request Features