{"id":18745562,"url":"https://github.com/vpanjeta/modiscript","last_synced_at":"2025-05-16T15:07:56.508Z","repository":{"id":52252754,"uuid":"87838041","full_name":"VPanjeta/ModiScript","owner":"VPanjeta","description":"Acche din aa gaye","archived":false,"fork":false,"pushed_at":"2021-10-07T07:57:11.000Z","size":500,"stargazers_count":1040,"open_issues_count":0,"forks_count":112,"subscribers_count":28,"default_branch":"master","last_synced_at":"2025-04-12T14:16:07.259Z","etag":null,"topics":["ast","compiler","esoteric","esoteric-interpreter","esoteric-language","esoteric-programming-language","fun","hindi","language","modi","modiscript","programming","programming-language","programming-languages","python","syntax","tree"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/VPanjeta.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-10T17:23:50.000Z","updated_at":"2025-03-29T09:35:08.000Z","dependencies_parsed_at":"2022-09-13T12:50:57.854Z","dependency_job_id":null,"html_url":"https://github.com/VPanjeta/ModiScript","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VPanjeta%2FModiScript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VPanjeta%2FModiScript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VPanjeta%2FModiScript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VPanjeta%2FModiScript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VPanjeta","download_url":"https://codeload.github.com/VPanjeta/ModiScript/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254553958,"owners_count":22090417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ast","compiler","esoteric","esoteric-interpreter","esoteric-language","esoteric-programming-language","fun","hindi","language","modi","modiscript","programming","programming-language","programming-languages","python","syntax","tree"],"created_at":"2024-11-07T16:18:39.650Z","updated_at":"2025-05-16T15:07:51.500Z","avatar_url":"https://github.com/VPanjeta.png","language":"Python","readme":"# ModiScript\nAcche din aa gaye  \nTry the script in the [ModiScript web UI](https://modiscript.netlify.com/)  \n\n## Vision\nA 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. \u003cbr/\u003e\nOur 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! \u003cbr/\u003e\n\n## Features\nThis scripting language includes some \"ideas\" of Shri Narendra Modi. \u003cbr/\u003e\n* No import of code is allowed, we have to support him in Make in India.\u003cbr/\u003e\n* No comments are allowed in code, everything should be clean as per Swachh Bharat Abhiyaan. \u003cbr/\u003e\n* No redundant variables allowed, 'less government more governance.' \u003cbr/\u003e\n* Like his speeches, all codes should start with \u003cstrong\u003emitrooon\u003c/strong\u003e \u003cbr/\u003e\n* All codes should end with \u003cstrong\u003eacche din aa gaye\u003c/strong\u003e, otherwise it's congress rule error.\u003cbr/\u003e\n* The programming language is totally case insensitive because we should not believe discrimination based on higher or lower castes/cases. \u003cbr/\u003e\n* No floating point numbers allowed, you can either be right front or left front, there is no mid-way.\u003cbr/\u003e\n* you can use the --help flag for very discreet help.\n\n\n## Installation\nTo install, download the repo using: \u003cbr/\u003e\n```bash\ngit clone https://github.com/VPanjeta/ModiScript\n```\nThen add ModiScript to your PATH as:\u003cbr/\u003e\n1. Temporary: Write `export PATH=$PATH:/path/to/ModiScript` to terminal. \u003cbr/\u003e\n2. Permanent: Append `export PATH=$PATH:/path/to/ModiScript` to the end of your `~/.bashrc` file.\u003cbr/\u003e\nAnd then type\n```bash\nsource ~/.bashrc\n```\n## Execution\nWrite code in file with extension \u003cstrong\u003e.chai\u003c/strong\u003e\u003cbr/\u003e\nFor execution type MODI filename.chai \u003cbr/\u003e\n\n## Syntax and Grammar\nArithmetic, relational and logical operators can be used in their raw form as defined in c/c++ (i.e. '+' for addition '-' for subtraction '\u0026\u0026' for logical and '||' for logical or and so on..) \u003cbr/\u003e\n\u003cstrong\u003eModi-fied operators\u003c/strong\u003e\u003cbr/\u003e\n* `sach` for True \u003cbr/\u003e\n* `jhoot` for False \u003cbr/\u003e\n* `plus` for addition \u003cbr/\u003e\n* `substract` for subtraction \u003cbr/\u003e\n* `taimes` for multiplication \u003cbr/\u003e\n* `break` for division \u003cbr/\u003e\n* `modi` for mod \u003cbr/\u003e\n* `kam` for less than \u003cbr/\u003e\n* `zyada` for greater than \u003cbr/\u003e\n* `barabar` for equal to \u003cbr/\u003e\n* `aur` for logical AND \u003cbr/\u003e\n* `ya` for logical OR \u003cbr/\u003e\n\n## Flow of Control\n* \u003cstrong\u003e { } \u003c/strong\u003e define a block as in any other programming language. \u003cbr/\u003e\n* if is defined as \u003cstrong\u003eagar\u003c/strong\u003e and else as \u003cstrong\u003enahi toh\u003c/strong\u003e. if else ladder can be defined as \u003cstrong\u003eagar (condition) { } nahi toh agar (condition) { } nahi toh{ }\u003c/strong\u003e.\n* Looping constructs can be defined using \u003cstrong\u003ejab tak condition hai { } \u003c/strong\u003e (be careful here, we have been going according to hindi grammar that dictates the loop will exit when the condition is true, thus the loop executes till the condition is false not true) \u003cbr/\u003e\n\n## General Syntax\n* Any quote in double or single inverted commas is taken as a string constant. eg \"Modiji ka seena 56 inch ka hai\". \u003cbr/\u003e\n* Assignments to a variable can be done using hai keyword, x = y can be depicted as x y hai, or \u003cstrong\u003econgress scamster hai \u003c/strong\u003e. \u003cbr/\u003e\n* The use of the word \"hai\" is optional so the statement can be defined as \u003cstrong\u003eBJP winner \u003c/strong\u003e which translates to BJP = winner and hai can be appended to end of any line to make it more grammarly suitable to hindi. \u003cbr/\u003e\n* Output to STDOUT can be given using \u003cstrong\u003ebhaiyo aur behno\u003c/strong\u003e. bhaiyo aur behno \"Hum UP me sarkaar bana chuke hai.\" will print \"Hum UP me sarkaar bana chuke hai.\" \u003cbr/\u003e\n* Input from STDIN can be taken using \u003cstrong\u003emann ki baat\u003c/strong\u003e. mann ki baat RSS will take input into a variable named RSS. \u003cbr/\u003e\n* Any excessive words defined in a line outside the scope of any operators or syntax will be neglected so you can write pure hindi codes and make them grammatically correct and give a pure Hindi Code demo in UN Assembly. \u003cbr/\u003e\n\n## Example Code\n```\nMitrooon\nagar baat sach hai\n    bhaiyo aur behno \"Modi sabse achhe pradhan mantri hai.\"\nnahi toh\n    bhaiyo aur behno \"Rahul Gandhi ko PM banaiye\"\nAchhe din aa gaye\n```\n\u003cbr/\u003e\n\u003cstrong\u003eOutput:\u003c/strong\u003e\n\"modi sabse achhe pradhan mantri hai.\"\n\n\u003cstrong\u003eExample codes can be found in `/example`.\u003c/strong\u003e\n\n# Creators\nIdeas and Contributions for alpha version implemented by \u003cbr/\u003e\n* Vishal Panjeta [@VPanjeta](https://vpanjeta.github.io) \u003cbr/\u003e\n* Tilak S Naik [@TilakSN](https://github.com/TilakSN) \u003cbr/\u003e\n* Shishira R Maiya [@abhyantrika](https://github.com/abhyantrika) \u003cbr/\u003e\n\nWeb UI over flask service implemented by \u003cbr/\u003e\n* Daksh Miglani [@DakshMiglani](https://github.com/DakshMiglani)\n\n* You are welcome if you feel the need to contribute. Just clone the repo and send a pull request!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvpanjeta%2Fmodiscript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvpanjeta%2Fmodiscript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvpanjeta%2Fmodiscript/lists"}