rajini++ (rajiniPP) the programming language is a tribute to the one and only superstar and based on the iconic dialogues of Rajinikanth. This is a hobby project and is not meant to be used for serious software development.
-
rajinipp requires python >= 3.8. Install python from here.
-
Install the rajini++ interpreter using the following command:
pip install rajinipp
-
test installation:
rajinipp version
rajini++ is not a feature rich language and is not intended for serious use. It is rather a hobby project and a tribute to the one and only superstar.
hello_world.rpp
:
LAKSHMI START
DOT "Hello, World!";
MAGIZHCHI
-
Run the
hello_world.rpp
program:rajinipp run examples/hello_world.rpp
will result in the following output:
- Learn the rajini++ language:
- The rajini++ language documentation can be found at the rajiniPP Wiki.
- Example programs can be found here: Example Programs.
- The rajini++ Language Spec: The rajini++ commands and its equivalent in python3 can be found at the rajiniPP Language Spec wiki.
- The rajinipp Interpreter Documentation: The documentation for the rajinipp interpreter can be found here.
- A lot of learnings from DIVSPL and its accompanying pycon talk.
- A lot of learnings from this pycon talk by Alex Gaynor.
- Workflows setup based on poetry_pypi_template.
- This project is inspired by the ArnoldC project.
- Math Ops
- SUM
- SUB
- MUL
- DIV
- MOD
- Unary Ops
- print multiple objects with the same statement.
- variable declaration
- variable access
- variable manipulation
- bool data type
- float datatype
- logical ops
- if statement
- if-else statement
- for loop
- while loop
- functions
- functions with return
- fuinctions with arguments
- Execute python code in rajini++ scripts
- rajinipp python runner:
-
rajinipp.api.require
: load rajini++ code into python program. -
rajinipp.runner.RppRunner.exec
: execute rajini++ programs in python loaded as string. -
rajinipp.runner.RppRunner.eval
:- eval rajini++ statement in python scripts [limited support].
- support flow control statements.
- eval function calls from loaded rajini++ code and return output.
-
- rajinipp shell to run rajini++ commands from the terminal.
- limited support using
rajinipp.runner.RppRunner.eval
. - complete support to all rajini++ features.
- limited support using
- Add tests.
- semantic releases.