rajini++
rajini++ (rajiniPP) is a programming language is a tribute to the one and only superstar and based on the iconic dialogues of Rajinikanth. This is a hobby project ans is not meant to be used for serious software development.
Superstar Rajinikanth
Installation
-
rajinipp requires python >= 3.8. Install python from here.
-
Install the rajini++ interpreter using the following command:
pip install rajinipp -
test installation:
rajinipp version
Getting started
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.
Run programs
hello_world.rpp:
LAKSHMI START
DOT "Hello, World!";
MAGIZHCHI
-
Run the
hello_world.rppprogram:rajinipp run examples/hello_world.rpp
will result in the following output:
Resources
- 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.
Acknowledgements
- 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.
Roadmap
rajini++ Features
- 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 package
- 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
General
- Add tests.
- semantic releases.
Metadata
Release files for rajinipp 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rajinipp-0.3.1.tar.gz | 12.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rajinipp-0.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 28.7 kB
Release files / rajinipp-0.3.1.tar.gz
| Download URL | rajinipp-0.3.1.tar.gz |
|---|---|
| Size | 12.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
35dd956a0bc083d9f0266100c5aa0df28965533b4efc97956ab63ec80d59b171
|
|
BLAKE2b-256 checksum How to use checksums |
1e8cf27dbd79dd7c8733ecbc7eee33d82779535ee768e201390ec71e92f29c66
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/35.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.13
|
Release files / rajinipp-0.3.1-py3-none-any.whl
| Download URL | rajinipp-0.3.1-py3-none-any.whl |
|---|---|
| Size | 16.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
43e31e7d104eeb9f6fe0ec5eaeb607223c22b492e12a42b9c30586e8207ebc62
|
|
BLAKE2b-256 checksum How to use checksums |
a1ad3e525219131960748c60256e6b53525b1e7619837f3722a2ea499874647a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/35.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.13
|