Giter Club home page Giter Club logo

zlang's Introduction

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...

zlang's People

Contributors

3ldar avatar dtproductions avatar naghim avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

zlang's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.