Rajini++: Programming Language Inspired by Rajinikanth

badrinarayan6645541 08 Jul, 2024
5 min read

Introduction

Innovation and creativity frequently cross paths in programming languages in surprising ways. One such instance is the computer language Rajini++, which drew inspiration from the well-known lines of South Indian movie star Rajinikanth. Aadhithya Sankar’s playful and distinctive esoteric programming language Rajini++ (or Rajinipp) is a tribute to the iconic actor. Rajini++ offers fans and programmers a fun and exciting way to combine their love of Rajinikanth with their passion for coding, though it is not intended for serious software development.

Overview

  • Explore Rajini++, a playful programming language inspired by the iconic dialogues of South Indian superstar Rajinikanth.
  • Learn how Rajini++ uses Rajinikanth’s famous movie lines in its syntax.
  • Discover the key features of Rajini++, including math operations, control structures, and functions.
  • Understand the installation steps and try out sample codes in Rajini++.

Origin and Inspiration for Rajini++

Rajinikanth, popularly known as “Thalaiva” by his followers, is the inspiration behind Rajini++ because of his charisma and larger-than-life demeanor. His dialogues, renowned for their theatrical flair and punch, have been included in this language’s syntax and instructions. The creator, Aadhithya Sankar, wanted to create a coding experience that appealed to fans and coders by encapsulating the essence of Rajinikanth’s style.

Aadhithya Sankar, in his article, states, “The origins of rajini++ go back six years to when I first came across this esolang called ArnoldC. Right from that moment, I had wanted to create such an esolang for the superstar. Six years and a lot of learnings later, here we are, finally with a usable version of the Rajini++ language.”

Key Features and Syntax of Rajini++

Rajini++ is built on top of Python, requiring a version greater than 3.8 or less than 3.11. It offers several fundamental programming features:

  • Math Operations: SUM, SUB, MUL, DIV, MOD
  • Unary Operations: SUM and SUB
  • Variable Declaration and Manipulation
  • Control Structures: If-Else statements, For loop and While loops
  • Functions: With and without arguments, return values

The syntax of Rajini++ incorporates Rajinikanth’s dialogues, making coding sessions reminiscent of the superstar’s movie scenes.

Installation and Getting Started

  1. Ensuring Python version compatibility

    Check your Python version is between 3.8 and less than 3.11 to ensure compatibility. Run python --version or python3 --versionto check.

  2. Installing Rajinipp

    Use the pip install rajinipp command to install Rajinipp.

  3. Verification of Installation

    Check the installation by running rajinipp version to see the installed version.

Sample Codes for Rajini++

Now that we have installed and set up the environment. Let’s try some basic sample codes

, such as hello_world.pp

LAKSHMI START
DOT "Hello, World!";
MAGIZHCHI
Rajini++: Programming Language Inspired by Rajinikanth

In the above code,, LAKSHMI START will indicate the, program’s start and MAGIZHCHI will signify the end.

Rajini++: Programming Language Inspired by Rajinikanth

if_conditional.rpp

LAKSHMI START
AANDAVAN SOLLRAN x ARUNACHALAM SEIYARAN 15;
!! if statement.
DOT "Example: If Statement";
EN PEAR MANICKAM x > 10{
    DOT "x (" x ") is larger than 10!";
} KATHAM KATHAM;
DOT "";
!! Nested if statement.
DOT "Example: Nested If Condition";
EN PEAR MANICKAM x > 14{
    DOT "Outer if statement";
    EN PEAR MANICKAM x == 15{
        DOT "Inner if statement.";
        DOT "x (" x ") is equal to 15!";
    } KATHAM KATHAM;
} KATHAM KATHAM;
MAGIZHCHI

if_else_conditional.rpp

LAKSHMI START
AANDAVAN SOLLRAN x ARUNACHALAM SEIYARAN 5;
DOT "Example: If-Else Statement";
!! if statement.
EN PEAR MANICKAM x > 10{
    DOT "x (" x ") is larger than 10!";
} !! else statement.
ENAKKU INNURU PEAR IRUKKU{
    DOT "x (" x ") is less than 10!";
} KATHAM KATHAM;
MAGIZHCHI

for_loop.rpp

LAKSHMI START
!! for loop example
DOT "For Loop Example";
AANDAVAN SOLLRAN x ARUNACHALAM SEIYARAN 5;
DOT "Before loop: X =" x;
DOT "Running loop from 1...10";
NAA 1 THADAVA SONNA 10 THADAVA SONNA MADHRI{
    x BHAJJI SAAPDU x + 1;
}KATHAM KATHAM;
DOT "After loop: X =" x;
MAGIZHCHI

while_loop.rpp

LAKSHMI START
DOT "While Loop Example";
AANDAVAN SOLLRAN ix ARUNACHALAM SEIYARAN 1;
BABA COUNTING STARTS True{
    DOT ix;
    ix BHAJJI SAAPDU ix + 1;
    EN PEAR MANICKAM ix > 5{
        DOT "breaking out of loop...";
        BLACK SHEEP;
    }KATHAM KATHAM;
}KATHAM KATHAM;
MAGIZHCHI

function_no_args.rpp

EN VAZHI THANI VAZHI myfunc_one
    DOT "Hello from myfunc_one!";
MARAKKADHINGA
LAKSHMI START
DOT "Hi from main!";
CHUMMA ADHURUDHULA myfunc_one;
MAGIZHCHI

function_return.rpp

EN VAZHI THANI VAZHI myfunc_one
    DOT "Hello from myfunc_one!";
    AANDAVAN SOLLRAN ix ARUNACHALAM SEIYARAN 100;
    DOT "returning ix =" ix "to main";
    IDHU EPDI IRUKKU ix;
MARAKKADHINGA
LAKSHMI START
DOT "Hi from main!";
y CHUMMA ADHURUDHULA myfunc_one;
DOT "Value returned from myfunc_one:" y;
MAGIZHCHI
Rajini++: Programming Language Inspired by Rajinikanth

fizzbuzz.rpp

LAKSHMI START

!! declare variables
AANDAVAN SOLLRAN ix ARUNACHALAM SEIYARAN 1;
AANDAVAN SOLLRAN range ARUNACHALAM SEIYARAN 16;

NAA 1 THADAVA SONNA range THADAVA SONNA MADHRI{
    EN PEAR MANICKAM ix%15==0{
        DOT "FizzBuzz";
    } ENAKKU INNURU PEAR IRUKKU{
        EN PEAR MANICKAM ix%3==0{
            DOT "Fizz";
        } ENAKKU INNURU PEAR IRUKKU{
            EN PEAR MANICKAM ix%5==0{
                DOT "Buzz";
            } ENAKKU INNURU PEAR IRUKKU{
                DOT ix;
            }KATHAM KATHAM;
        }KATHAM KATHAM;
    }KATHAM KATHAM;
    ix BHAJJI SAAPDU ix + 1;
!! End Loop
}KATHAM KATHAM;
MAGIZHCHI
Rajini++: Programming Language Inspired by Rajinikanth

Note that as developers continuously add new features to the Rajinipp repository, they may change the language syntax and documentation. Please refer to the official wiki to stay updated on the latest changes. This language is more of a tribute and a hobby project than a tool for serious software development.

Conclusion

Rajini++ is a fun fusion of programming and pop culture that gives fans of Rajinikanth and programmers a new way to interact with both realms. It may not be appropriate for professional software development, but its inventiveness and the joy it takes from coding make it appealing. Whether you’re a programmer searching for a fun project or an ardent admirer of Rajinikanth, Rajini++ will make you grin and infuse your code with superstar magic.

Frequently Asked Questions

Q1. What is Rajini++?

A. Rajini++ is an esoteric programming language inspired by the iconic dialogues of South Indian film superstar Rajinikanth. It was a fun project to pay tribute to the actor, incorporating his famous dialogues into the syntax and commands.

Q2. Who created Rajini++?

A. Rajini++ was created by Aadhithya Sankar, a programmer and fan of Rajinikanth. Sankar aimed to blend the actor’s charismatic style with the world of coding.

Q3. Is Rajini++ suitable for serious software development?

A. No, Rajini++ is not for enterprise-level software development. It is designed as a hobby project for fun and entertainment.

Q4. What inspired the creation of Rajini++?

A. The language was inspired by Rajinikanth’s larger-than-life persona and his memorable movie dialogues. It aims to provide a fun and engaging way for fans to combine their love for coding with their admiration for the superstar.

badrinarayan6645541 08 Jul, 2024

Data science intern at Analytics Vidhya, specializing in ML, DL, and AI. Dedicated to sharing insights through articles on these subjects. Eager to learn and contribute to the field's advancements. Passionate about leveraging data to solve complex problems and drive innovation.

Frequently Asked Questions

Lorem ipsum dolor sit amet, consectetur adipiscing elit,

Responses From Readers

Clear