From d9adc6eaa777aa5704814b59dc202d335f9e2ccd Mon Sep 17 00:00:00 2001 From: Pranav Verma Date: Sat, 5 Oct 2024 17:32:09 +0530 Subject: [PATCH] Added for Brainrot --- README.md | 9 +++++++-- code/BrainRot/brainrot-2.br | 3 +++ src/main.rs | 1 + 3 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 code/BrainRot/brainrot-2.br diff --git a/README.md b/README.md index 2482261..8869915 100755 --- a/README.md +++ b/README.md @@ -4,7 +4,8 @@ A Language Made using Rust.
Made by Pranav Verma. -Uses the Extension `.td` and `.br`. +Uses the Extension `.td` and `.br`.
+Please Check the [Wiki](https://github.com/PranavVerma-droid/Tidal/wiki) for more Information. ## Download The Latest Compiled Build Can Be Found in the [Releases](https://github.com/PranavVerma-droid/Blue-Lagoon/releases) (For Windows and Linux) @@ -22,7 +23,11 @@ The Sample Code Along with the Basic Syntax Can be Found in the [Code](code) Dir ```cargo build --release```
### Run -```./td -v``` +```./td -v``` + +OR + +```./td -v``` diff --git a/code/BrainRot/brainrot-2.br b/code/BrainRot/brainrot-2.br new file mode 100644 index 0000000..1eb5fd4 --- /dev/null +++ b/code/BrainRot/brainrot-2.br @@ -0,0 +1,3 @@ +bussin(rizzler i = 0; i < 10; i = i + 1;){ + skibidi(i) no cap +} \ No newline at end of file diff --git a/src/main.rs b/src/main.rs index 0483cc2..b352ffa 100755 --- a/src/main.rs +++ b/src/main.rs @@ -74,6 +74,7 @@ fn preprocess_brain_rot(input: &str) -> String { ("no cap", ";"), ("skibidi", "print"), ("fanum tax", "type"), + ("bussin", "for"), ("sussy", "/*"), ("baka", "*/"), ].iter().cloned().collect();