Christopher-L-Massie / khaledflow

Major key alert! πŸš€ KhaledFlow is the ultimate esoteric programming language inspired by DJ Khaled, designed to flow like his iconic style. Bless up your code with smooth syntax and vibrant flair, securing the bag with every script. They don’t want you to code like this, but we do. πŸ”₯

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KhaledFlow πŸ”‘

khaledflow

🎀 KhaledFlow - The Major Key to Coding! This esoteric, interpreted programming language is brought to you by the power of Rust. It's simple, it's effective, and it's here to help you shine. Let's get this money!

Project Structure

.
β”œβ”€β”€ build_and_run.sh # The Key to Success: Shell script to build and run the Docker container
β”œβ”€β”€ Dockerfile # Secure the Bag: Dockerfile for building the project environment
β”œβ”€β”€ khaledflow
β”‚ β”œβ”€β”€ Cargo.toml # Major Configuration: Cargo file for the Rust project
β”‚ β”œβ”€β”€ src
β”‚ β”‚ β”œβ”€β”€ interpreter.rs # The Voice of the Interpreter
β”‚ β”‚ β”œβ”€β”€ lexer.rs # The Lexer, Another One
β”‚ β”‚ β”œβ”€β”€ main.rs # The Main Event
β”‚ β”‚ └── parser.rs # The Parser, Bless Up
β”‚ └── test_scripts
β”‚ └── output.dj # Test Script, Let's Win
└── README.md # This Document, You Smart

Getting Started

Prerequisites

  • 🐳 Docker - Because you a genius.

Building and Running the Project

πŸ”‘ Step 1: Execute the Key to Success, the shell script:

'./build_and_run.sh'

This script will:

    1. Build the Docker image and tag it as khaledflow_image.
    2. Run the Docker container based on the built image.

Manual Docker Commands

If you prefer to do it manually, here’s how you secure the bag:

    1. Build the Docker Image:

        'docker build -t khaledflow_image .'

    2. Run the Docker Container:

        'docker run --rm khaledflow_image'

Example Script

We got the best example script in the test_scripts directory:

output.dj:

ANOTHER_ONE my_string "string value here"
ANOTHER_ONE my_float 51.1
ANOTHER_ONE my_number 5
SING my_number
SING my_float
SING my_string

Project Modules

Lexer (lexer.rs): Turns your script into tokens. Major key alert!
Parser (parser.rs): Converts tokens into statements. Bless up!
Interpreter (interpreter.rs): Executes the statements. Another one!

Contributing

You smart. You loyal. You got ideas? Bring β€˜em in! Open an issue or submit a pull request. We appreciate you.

About

Major key alert! πŸš€ KhaledFlow is the ultimate esoteric programming language inspired by DJ Khaled, designed to flow like his iconic style. Bless up your code with smooth syntax and vibrant flair, securing the bag with every script. They don’t want you to code like this, but we do. πŸ”₯


Languages

Language:Rust 90.0%Language:Dockerfile 5.4%Language:Shell 4.7%