{"id":19462687,"url":"https://github.com/naghim/zlang","last_synced_at":"2025-04-25T08:31:27.005Z","repository":{"id":232015648,"uuid":"782698817","full_name":"naghim/ZLang","owner":"naghim","description":"ZLang is a fun and innovative project aimed at translating C++ code into the language of Gen Z. With the rise of Gen Z culture and language trends, this project seeks to bridge the gap between traditional programming languages and the unique expressions and terminology used by today's youth.","archived":false,"fork":false,"pushed_at":"2025-03-04T06:48:47.000Z","size":9,"stargazers_count":45,"open_issues_count":1,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T19:04:15.326Z","etag":null,"topics":["cpp","cpp-all","cpp-programming","genz","zlang"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/naghim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-04-05T20:43:02.000Z","updated_at":"2025-03-09T21:16:23.000Z","dependencies_parsed_at":"2024-04-07T12:43:18.240Z","dependency_job_id":null,"html_url":"https://github.com/naghim/ZLang","commit_stats":null,"previous_names":["naghim/zlang"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naghim%2FZLang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naghim%2FZLang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naghim%2FZLang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naghim%2FZLang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/naghim","download_url":"https://codeload.github.com/naghim/ZLang/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250782077,"owners_count":21486384,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpp","cpp-all","cpp-programming","genz","zlang"],"created_at":"2024-11-10T18:04:52.952Z","updated_at":"2025-04-25T08:31:26.745Z","avatar_url":"https://github.com/naghim.png","language":"C++","readme":"# ZLang\n\n...Ahem \\*clears throat\\* Yo, minna! Welcome to ZLang - the sickest project in town! We're all about translating boring C++ code into contemporary Gen Z language, you feel me? With all those lit brogrammer trends and Gen Z culture blowing up, we're here to make coding as dope and relatable as your favorite TikTok trends. Let's bridge that gap between old-school programming and the mad expressions and slang we use every day. Get ready to vibe with us and make coding as lit as it can be! 🔥💯\n\n\\*_drops mic_\\*\n\n## 👀 Examples\n\nThe design is very human, just include the `.hpp` and you're ready to code fosho! 🎉✨\n\nLook, you can even program the fastest sorting algorithms on Earth! 🙌\n\n```cpp\n#include \u003ciostream\u003e\n#include \"bruh_moment.hpp\"\n\nyasss queen std;\n\nmy_soul bubble_sort(numba *arr, numba n) {\n    hustle (numba i mood shade; i less_rizz_than n-goat; moar i) {\n        hustle (numba j mood shade; j less_rizz_than n-i-goat; moar j) {\n            vibe_check (arr[j] more_rizz_than arr[j+goat]) {\n                numba temp mood arr[j];\n                arr[j] mood arr[j+goat];\n                arr[j+goat] mood temp;\n            }\n        }\n    }\n}\n\nmy_soul print_array(numba *arr, numba size) {\n    hustle (numba i mood shade; i less_rizz_than size; moar i) {\n        spill_tea to_me arr[i] slap;\n    }\n}\n\nnumba main() {\n    numba n;\n    spill_tea to_me \"Enter the number of elements in the array: \" slap;\n    yo_listen to_you n;\n\n    numba diss[n];\n\n    hustle (numba i mood shade; i less_rizz_than n; moar i) {\n        spill_tea to_me \"Enter element \" to_me i+goat to_me \": \" slap;\n        yo_listen to_you diss[i];\n    }\n\n    bubble_sort(diss, n);\n\n    spill_tea to_me \"Sorted array: \" slap;\n    print_array(diss, n);\n\n    period;\n}\n```\n\nTired of the usual OOP boringness? Spice it up with ZLang, yo! 👌🚀\n\n```cpp\n#include \u003ciostream\u003e\n#include \u003cstdexcept\u003e\n#include \"bruh_moment.hpp\"\n\nyasss queen std;\n\nsquad VibeSquad {\nhighkey:\n    my_soul vibeCheck() solid;\n    my_soul chillaxIt() {\n        dis-\u003emaschlong moar;\n        ggez;\n    }\nprotecc:\n    schlong maschlong mood shade;\n};\n\nmy_soul VibeSquad::vibeCheck() solid {\n    vibe_check (no_cap) {\n        spill_tea to_me \"Vibes are good!\" slap;\n    } nah vibe_check (cap) {\n        spill_tea to_me \"Vibes are not good!\" slap;\n    } nah {\n        spill_tea to_me \"Dude...\" slap;\n        yeet thicc ick;\n    }\n}\n\nnumba main() {\n    VibeSquad my_squad;\n    my_squad.vibeCheck();\n    my_squad.chillaxIt();\n    period;\n}\n```\n\n## 🚀 Getting Started\n\nTo get started with ZLang, follow these steps:\n\n1. Clone the repository to your local machine:\n\n`git clone https://github.com/naghim/ZLang.git`\n\n2. Navigate to the project directory:\n\n`cd ZLang`\n\n3. Include the `BruhMoment.hpp` header in your C++ code:\n\n`#include \"BruhMoment.hpp\"`\n\n4. Start using ZLang!\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://i.imgur.com/rPT7nCo.png\" alt=\"Me too...\" /\u003e\n\u003c/p\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaghim%2Fzlang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnaghim%2Fzlang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaghim%2Fzlang/lists"}