# Raaawr! Programming Language 🦖 Raaawr! is a primal, yet powerful, programming language designed for the modern dinosaur enthusiast. It's simple, expressive, and full of roars and stomps, making programming a prehistoric adventure! ## Features - Dino-Inspired Syntax: Keywords like GRRRRRRR!, HSSSSSSS!, RAAAWR!, ROAR, and SNIFF bring the Jurassic era to your code. - Variables: Declare and assign values to variables using RAAAWR! and RAAAWR.. - Functions (Territories): Organize reusable code blocks with DEFINE_TERRITORY and END_TERRITORY, and call them with CALL_TERRITORY. - Control Flow: Implement conditional logic with IF_ROAR/THEN_CHOMP/ELSE_STOMP/END_HUNT and loops with WHILE_ROAR/KEEP_MIGRATING/END_MIGRATION. - Arithmetic & Comparison: Perform calculations and comparisons using RAAWR+, RAAWR-, RAAWR*, RAAWR/, RAAWR%, RAAWR==, RAAWR>, RAAWR<. - String Concatenation: Join values with the mighty ROOOOAAR operator. - Input/Output: Interact with the user via ROAR (output) and SNIFF (input). - Web-based Playground: A live interpreter in your browser to write and run Raaawr! code instantly. - Command-line Interpreter: A Node.js-based interpreter for running Raaawr! scripts directly from your terminal. ## Directory Structure ``` Raaawr/ ├── docs.css # Styling for the documentation page. ├── docs.html # Comprehensive documentation for the Raaawr! language. ├── index.html # The main web-based Raaawr! code playground. ├── interpreter.js # The core JavaScript logic for the web-based Raaawr! interpreter. ├── index.js # (Assumed) The Node.js-based command-line interpreter. ├── README.md # This file. └── style.css # Styling for the main playground (index.html). ``` ## Getting Started ### Web Playground To start coding in Raaawr! instantly in your browser: 1. got the website https://sajagin.thedev.id/Raaawr 2. Write your Raaawr! code in the editor. 3. Click the "Run Raaawr!" button to see the output in the console below. Input prompts (SNIFF) will appear directly in the output area. Errors will be logged in a separate "Fatal Roars" terminal. ### Language Documentation For a detailed guide on Raaawr! syntax, commands, and features: 1. got the website https://sajagin.thedev.id/Raaawr/docs.html 2. Navigate through the sidebar to explore different aspects of the language. ### Command Line Interpreter To run Raaawr! scripts from your terminal (requires Node.js installed): Make sure you have Node.js installed on your system. 1. Navigate to the Raaawr/ directory in your terminal. 2. Create a Raaawr! program file (e.g., my_program.raaawr). 3. Run your program using the command-line interpreter: ```bash node index.js my_program.raaawr ``` > (Note: The exact usage might vary slightly depending on the implementation details of index.js.) ## Language Syntax - A Quick Roar! Every Raaawr! program starts with GRRRRRRR! and ends with HSSSSSSS!. ```raaawr GRRRRRRR! // This is a fossilized thought (comment)! RAAAWR! MY_VARIABLE RAAWR 10 ROAR "My variable is: " ROOOOAAR MY_VARIABLE IF_ROAR (MY_VARIABLE RAAWR> 5) THEN_CHOMP ROAR "It's greater than 5!" ELSE_STOMP ROAR "It's not greater than 5!" END_HUNT DEFINE_TERRITORY GREET_HUNTER (hunter_name) ROAR "Hello, " ROOOOAAR hunter_name ROOOOAAR "!" END_TERRITORY CALL_TERRITORY GREET_HUNTER ("Rex") HSSSSSSS! ``` For a complete reference, please refer to [docs.html](https://sajagin.thedev.id/Raaawr/docs.html). ## License This project is licensed under the MIT License.