genzscript
v1.0.2
Published
A parody programming language powered by Gen Z slang
Maintainers
Readme
💅 GenzScript: The Programming Language fr fr
Standard JavaScript is giving NPC energy. It's time to let your code cook.
GenzScript is a blazing fast, zero-dependency transpiler that converts peak Gen Z slang into executable JavaScript. Write your algorithms with immaculate vibes, transpile them under the hood, and let Node.js do the heavy lifting. No cap.
🚀 Getting Started
Want to run GenzScript natively on your machine? Say less.
1. Clone the repo
git clone https://github.com/Mizab1/GenzScript.git
cd genzscript2. Make it global
Initialize the project and link it to your system so you can run it from anywhere:
npm init -y
npm link3. Let him cook
Create a .genz file anywhere on your computer and run it using the global cook command:
cook my_script.genz📖 The GenzScript Dictionary
If you want to pass the vibe check, you need to know the vocab. Here is how standard programming maps to GenzScript:
Variables & Types
| JS Keyword | GenzScript | Meaning |
| :--------------- | :--------- | :---------------------------------------- |
| const | fax | An unchangeable truth. |
| let | lit | A variable that can change. |
| var | sus | Globally scoped, unpredictable, red flag. |
| true / false | W / L | Win / Loss. |
| null | ghosted | Intentionally left blank. |
Logic & Loops
| JS Keyword | GenzScript | Meaning |
| :------------------------ | :------------------------------------ | :------------------------------------------- |
| if / else if / else | vibecheck / plot_twist / or_nah | Standard branching logic. |
| switch / case | mood / era | Checking different states (e.g. "flop era"). |
| for / while | grind / doomscroll | Loops. |
| break / continue | dip / skrrt | Escaping or skipping loops. |
Functions & Error Handling
| JS Keyword | GenzScript | Meaning |
| :-------------------- | :--------------------------- | :------------------------------------------ |
| function / return | cook / yeet | Preparing logic and throwing it back. |
| console.log() | spill() | Spilling the tea to the terminal. |
| try / catch | send_it / caught_lacking | Reckless execution & intercepting the flop. |
| throw | cancel | Intentionally crashing the script. |
🎨 VS Code Syntax Highlighting
Writing GenzScript in plain white text is a massive L.
We built an official VS Code extension so your fax and lit keywords get beautifully color-coded.
- Go to the
vscode-extensionfolder in this repo. - Grab the
genzscript-1.0.0.vsixfile. - Open VS Code > Extensions >
...Menu > Install from VSIX.
License: MIT (Main character Initiative Terms)
Built while doomscrolling.
