Skip to content
forked from naghim/ZLang

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.

Notifications You must be signed in to change notification settings

DTProductions/ZLang

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ZLang

...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! 🔥💯

*drops mic*

👀 Examples

The design is very human, just include the .hpp and you're ready to code fosho! 🎉✨

Look, you can even program the fastest sorting algorithms on Earth! 🙌

#include <iostream>
#include "bruh_moment.hpp"

yasss queen std;

my_soul bubble_sort(numba *arr, numba n) {
    hustle (numba i mood shade; i less_rizz_than n-goat; moar i) {
        hustle (numba j mood shade; j less_rizz_than n-i-goat; moar j) {
            vibe_check (arr[j] more_rizz_than arr[j goat]) {
                numba temp mood arr[j];
                arr[j] mood arr[j goat];
                arr[j goat] mood temp;
            }
        }
    }
}

my_soul print_array(numba *arr, numba size) {
    hustle (numba i mood shade; i less_rizz_than size; moar i) {
        spill_tea to_me arr[i] slap;
    }
}

numba main() {
    numba n;
    spill_tea to_me "Enter the number of elements in the array: " slap;
    yo_listen to_you n;

    numba diss[n];

    hustle (numba i mood shade; i less_rizz_than n; moar i) {
        spill_tea to_me "Enter element " to_me i goat to_me ": " slap;
        yo_listen to_you diss[i];
    }

    bubble_sort(diss, n);

    spill_tea to_me "Sorted array: " slap;
    print_array(diss, n);

    period;
}

Tired of the usual OOP boringness? Spice it up with ZLang, yo! 👌🚀

#include <iostream>
#include <stdexcept>
#include "bruh_moment.hpp"

yasss queen std;

squad VibeSquad {
highkey:
    my_soul vibeCheck() solid;
    my_soul chillaxIt() {
        dis->maschlong moar;
        ggez;
    }
protecc:
    schlong maschlong mood shade;
};

my_soul VibeSquad::vibeCheck() solid {
    vibe_check (no_cap) {
        spill_tea to_me "Vibes are good!" slap;
    } nah vibe_check (cap) {
        spill_tea to_me "Vibes are not good!" slap;
    } nah {
        spill_tea to_me "Dude..." slap;
        yeet thicc ick;
    }
}

numba main() {
    VibeSquad my_squad;
    my_squad.vibeCheck();
    my_squad.chillaxIt();
    period;
}

🚀 Getting Started

To get started with ZLang, follow these steps:

  1. Clone the repository to your local machine:

git clone https://github.com/naghim/ZLang.git

  1. Navigate to the project directory:

cd ZLang

  1. Include the BruhMoment.hpp header in your C code:

#include "BruhMoment.hpp"

  1. Start using ZLang!

Me too...

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 100.0%