Acche din aa gaye
Acche din aa gaye
Try the script in the ModiScript web UI
A Programming language is a wonderful medium of communication between man and machine. Many such languages are created, keeping in mind the comfort of the programmer. Such languages fulfill the computational needs of the world and serve their purpose. Somewhere in the midst of all this, the “fun” side of programming is lost.
Our project, “Modi Script” is one such esoteric language created with the sole intention of making use of quotes by our beloved PM Narendra Modi. The star feature of this language is that the language consists entirely of remarkable statements made by the PM. The language is dynamically typed and turing complete, sprinkled with words of wisdom by our PM!
This scripting language includes some "ideas" of Shri Narendra Modi.
To install, download the repo using:
git clone https://github.com/VPanjeta/ModiScript
Then add ModiScript to your PATH as:
export PATH=$PATH:/path/to/ModiScript
to terminal. export PATH=$PATH:/path/to/ModiScript
to the end of your ~/.bashrc
file.source ~/.bashrc
Write code in file with extension .chai
For execution type MODI filename.chai
Arithmetic, relational and logical operators can be used in their raw form as defined in c/c++ (i.e. '+' for addition '-' for subtraction '&&' for logical and '||' for logical or and so on..)
Modi-fied operators
sach
for True jhoot
for False plus
for addition substract
for subtraction taimes
for multiplication break
for division modi
for mod kam
for less than zyada
for greater than barabar
for equal to aur
for logical AND ya
for logical OR Mitrooon
agar baat sach hai
bhaiyo aur behno "Modi sabse achhe pradhan mantri hai."
nahi toh
bhaiyo aur behno "Rahul Gandhi ko PM banaiye"
Achhe din aa gaye
Example codes can be found in /example
.
Ideas and Contributions for alpha version implemented by
Web UI over flask service implemented by
Daksh Miglani @DakshMiglani
You are welcome if you feel the need to contribute. Just clone the repo and send a pull request!