Skip to content

naurjhanvi/genZPy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GenZPy ✨

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.


🚀 Features

  • 🗣️ 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.

📦 Installation

Install GenZPy directly from GitHub (make sure you have Python and Git installed):

pip install git+https://github.com/naurjhanvi/genzpy.git

🧑‍💻 How to Use

🏃‍♀️ Run a GenZPy File

  1. Create a file with a .gzpy extension (example: my_program.gzpy)
  2. Write your GenZPy code:
# my_program.gzpy

glow_up greet(name)
    spill 'wassup ' + name
fin

vibe check message = greet('fam')
bro print message
  1. Run it from your terminal:
genzpy my_program.gzpy

🧠 Use Inside Python

You 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)

📚 Keyword Guide

For a full list of all keywords and how to use them, check out the USAGE.md file in the repo.


🧋 Final Vibes

This project is ✨educational✨, ✨experimental✨, and ✨entertaining✨. Whether you're learning to code or just tired of boring syntax — GenZPy gets you.


🙌 Built With Sass by @naurjhanvi

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages