GenZPy is a fun, educational programming language with a syntax inspired by modern Gen Z slang.
If you've ever wanted to tell your variables to vibe check or your loops to keep it 100,
this is the language for you. Built on top of Python, it's easy to learn, chaotic by design, and a whole vibe.
It's not cringe — it's camp with a compiler.
- 🗣️ Readable, Slang-Based Syntax – Write code that sounds like how you talk.
- 🧠 Core Programming Concepts – Supports variables, conditionals (
fr), loops (no_cap), functions (glow_up), and more. - 💾 Easy Installation – Install it as a Python package via
pip. - 🧩 Extensible – Clean interpreter design, easy to add new keywords or modify syntax.
Install GenZPy directly from GitHub (make sure you have Python and Git installed):
pip install git+https://github.com/naurjhanvi/genzpy.git- Create a file with a
.gzpyextension (example:my_program.gzpy) - Write your GenZPy code:
# my_program.gzpy
glow_up greet(name)
spill 'wassup ' + name
fin
vibe check message = greet('fam')
bro print message- Run it from your terminal:
genzpy my_program.gzpyYou can also run GenZPy code from a regular Python script:
from genzpy import run
# Corrected GenZPy code
my_code = """
vibe check x = 10
fr if x > 5
bro print 'its giving... facts'
fin
"""
run(my_code)For a full list of all keywords and how to use them, check out the USAGE.md file in the repo.
This project is ✨educational✨, ✨experimental✨, and ✨entertaining✨. Whether you're learning to code or just tired of boring syntax — GenZPy gets you.