{"id":25398142,"url":"https://github.com/axnjr/radha-programming-language","last_synced_at":"2026-02-07T06:31:30.086Z","repository":{"id":88236665,"uuid":"590068978","full_name":"Axnjr/Radha-Programming-Language","owner":"Axnjr","description":"A one of its kind Interpreted \u0026 Customizable programming language v.2.0 written in Java","archived":false,"fork":false,"pushed_at":"2024-09-11T10:42:46.000Z","size":84,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-01T07:55:12.487Z","etag":null,"topics":["core","corejava","java","javascript","language","porgraming","programming-language","python"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Axnjr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-01-17T15:36:31.000Z","updated_at":"2024-11-10T08:51:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"6a455832-93fc-47c8-bcf3-69e3e11a4a95","html_url":"https://github.com/Axnjr/Radha-Programming-Language","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Axnjr/Radha-Programming-Language","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Axnjr%2FRadha-Programming-Language","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Axnjr%2FRadha-Programming-Language/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Axnjr%2FRadha-Programming-Language/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Axnjr%2FRadha-Programming-Language/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Axnjr","download_url":"https://codeload.github.com/Axnjr/Radha-Programming-Language/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Axnjr%2FRadha-Programming-Language/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29188226,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T05:07:31.176Z","status":"ssl_error","status_checked_at":"2026-02-07T05:06:15.227Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["core","corejava","java","javascript","language","porgraming","programming-language","python"],"created_at":"2025-02-15T22:34:45.045Z","updated_at":"2026-02-07T06:31:30.071Z","avatar_url":"https://github.com/Axnjr.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# The Radha Programming Language\n\nA basic programming language that includes features of both Python and JavaScript created by Axnjr (Yakshit Chhipa) as a personal project to include in my resume .\n\n# Syntax / Quick Docs\n \n 1) Variable declartion and assignment inside square brackets -\u003e ex: \n    ```ruby\n        [ x = 90 ]\n    ```\n \n 2) List's / array's are defined inside double square brackets -\u003e ex: \n     ```ruby\n        [ arr = [[1,2,3,4,5]] ] \n     ```\n \n 3) Dictionarie's / object's are defined inside double curly brackets -\u003e ex: \n     ```ruby\n        [ dict = {{\"name\":\"Krishna\",\"age\":19}} ] \n     ```\n \n 4) Functions are called inside single curly brackets -\u003e ex: \n     ```ruby \n        { print(\"Hello World\") } \n        { print( {..some_function()..} ) }\n     ```\n \n 5) Functions are defined using \"def\" keyword and must end with \";\" ( identation not neccesary but new line is neccesary )\n      ex: \n      ```ruby\n          def Sum(a,b) \n              ret: a+b\n          ;\n      ```\n \n 6) For loops must end with \":\" else same as for-in loop's in python ( identation not neccesary but new line is neccesary )\n       ex: \n       ```ruby\n            for [i] in (10)\n                 {print(i)}\n            :\n            \n            for [i] in [[1,2,3,4,5]]\n                  {print(i)}\n            :\n            \n            for [i] in (0,50,5)\n                  {print(i)}\n            :\n       ```\n \n  7) if statement's same as python but they end with \"?\" ( identation not neccesary but new line is neccesary )\n      ex: \n      ```ruby\n          if 8 + 2 is 10\n              {print(\"YES\")}\n          ?\n          \n          if 4 \u003e 3\n               if 3 \u003e 2\n                   if 3 \u003e 1\n                       if 1 \u003e 0\n                           {print(\"4_biggest\")}\n                       ?\n                   ?\n               ?   \n           ?\n           \n      ```\n \n  8) Conditional's are defined inside double parenthesis -\u003e ex: \n      ```ruby\n        [ condition = ((1\u003e0)) ] \n      ```\n\n# Installation Guide for Radha Programming Language\n\nWelcome to the Radha Programming Language! This guide will walk you through the steps required to install and set up the environment on your machine.\n\n## Prerequisites\n\nBefore installing the Radha Programming Language, ensure that you have the following: You can either run the java version of radha-lang for that you should have below requirments, or you can use the below [JavaScript CDN](#cdn) 👇\n\n1. **Java Development Kit (JDK)**\n   - Version 8 or higher\n   - [Download JDK](https://www.oracle.com/java/technologies/javase-jdk8-downloads.html)\n   - Ensure Java is added to your `PATH` environment variable.\n\n2. **Git (Optional)**\n   - Used to clone the repository\n   - [Download Git](https://git-scm.com/downloads)\n\n3. **Text Editor or IDE**\n   - Any editor that supports Java, such as VS Code, IntelliJ IDEA, or Eclipse.\n\n## Step-by-Step Installation\n\n### 1. Clone the Repository\n\nFirst, clone the repository to your local machine:\n\n```bash\ngit clone https://github.com/yourusername/Radha-Programming-Language.git\n```\nAlternatively, you can download the repository as a ZIP file and extract it to a directory of your choice.\n\n### 2. Compile the Source Code\n\nNavigate to the root directory of the project and compile the source code:\n```bash\ncd Radha-Programming-Language\njavac -d bin src/*.java\n```\n\nThis command compiles all .java files in the src directory and places the compiled .class files in the bin directory.\n\n### 3. Set Up Execution Script\n\nWindows:\n- Replace `C:\\path\\to\\your\\project\\bin` with the actual path to your bin directory in the `radha.bat` file.\n- Add the location of radha.bat to your PATH environment variable for easy execution from any directory.\n\nLinux / macOS:\n- Replace `/home/yourusername/Radha-Programming-Language/bin` with the actual path to your bin directory in the `radha.sh` file.\n- Make the script executable:\n```\nchmod +x radha.sh\n```\n- Optionally, add the directory containing radha.sh to your PATH environment variable:\n```\nexport PATH=$PATH:/path/to/radha.sh/directory\n```\n\n# Example\n\n1)\n```ruby\n# main.radha\n     [num = 90 ]                         # integer\n     [str = \"krishna\" ]                  # string\n     [cap_str = {capitalize(str)} ]      # function\n     [con = ((1\u003e0)) ]                    # conditional / boolean -\u003e True\n     [list = [[1,2,3,4]] ]               # list\n     [dict = {{\"num\":23,\"age\":19}} ]     # dictionary\n     [age = dict[age] ]                  # dictionary property / item\n     [arr_ele = list[2] ]                # list item\n     \n     {print(\"num\",\"=\",num)}              # num = 19\n     {print(\"str\",\"=\",str)}              # str = krishna\n     {print(\"cap_str\",\"=\",cap_str)}      # cap_str = KRISHNA\n     {print(con)}                        # true\n     {print(\"list\",\"=\",list)}            # list = 1 2 3 4\n     {print(dict)}                       # {num: 23, age: 19}\n     {print(age)}                        # 19\n     {print(arr_ele)}                    # 3\n     {print(\"Hello\",\"World\",str)}        # Hello World krishna\n     {print(num+age+arr_ele)}            # 41\n\n```\n\n2) \n ```ruby\n# main.radha\n      def FizzBuzz(num)                   \n        if num % 3 is 0 and num % 5 is 0\n            [ans = \"FizzBuzz\"]\n        ?\n        if num % 3 is 0 and num % 5 != 0\n            [ans = \"Fizz\"]\n        ?\n        if num % 3 != 0 and num % 5 is 0\n            [ans = \"Buzz\"]\n        ?\n        if num % 3 != 0 and num % 5 != 0\n            [ans = \"NoFizzNoBuzz\"]\n        ?\n        ret: ans: # (\"ret:\" mean's \"return\")\n    ;\n\n    [fn = {FizzBuzz(15)} ]\n    \n    {print(fn)}                  # FizzBuzz\n    {print( {FizzBuzz(3)}) }     # Fizz\n    {print( {FizzBuzz(5)}) }     # Buzz\n    {print( {FizzBuzz(19)}) }    # NoFizzNoBuzz\n\n```\n3) Execute the `radha` file\n```bash\n.\\radha \u003cfilename\u003e.radha\n```\n\n4) From js file\n```js\nimport { RadhaProgrammingLanguage } from \"./Language\"\n\nlet LANGUAGE_START1 = new RadhaProgrammingLanguage(`\n    \n    [num = 90 ]                         # integer\n    [str = \"krishna\" ]                  # string\n    [cap_str = {capitalize(str)} ]      # function\n    [con = ((1\u003e0)) ]                    # conditional / boolean -\u003e True\n    [list = [[1,2,3,4]] ]               # list\n    [dict = {{\"num\":23,\"age\":19}} ]     # dictionary\n    [age = dict[age] ]                  # dictionary property / item\n    [arr_ele = list[2] ]                # list item\n\n\n    def FizzBuzz(num)                   \n        if num % 3 is 0 and num % 5 is 0\n            [ans = \"FizzBuzz\"]\n        ?\n        if num % 3 is 0 and num % 5 != 0\n            [ans = \"Fizz\"]\n        ?\n        if num % 3 != 0 and num % 5 is 0\n            [ans = \"Buzz\"]\n        ?\n        if num % 3 != 0 and num % 5 != 0\n            [ans = \"NoFizzNoBuzz\"]\n        ?\n        ret: ans: # (\"ret:\" mean's \"return\")\n    ;\n\n    [fn = {FizzBuzz(15)} ]              # function\n\n    {print(\"num\",\"=\",num)}\n    {print(\"str\",\"=\",str)}\n    {print(\"cap_str\",\"=\",cap_str)}\n    {print(con)}\n    {print(\"list\",\"=\",list)}\n    {print(dict)}\n    {print(age)}\n    {print(arr_ele)}\n    {print(\"Hello\",\"World\",str)}\n    {print(num+age+arr_ele)}\n    {print(fn)}\n\n`)\n```\n\n\u003ca name=\"cdn\"\u003e# CDN \u003c/a\u003e\n \n https://cdn.jsdelivr.net/gh/Axnjr/Radha-Programming-Language@main/Language.js\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxnjr%2Fradha-programming-language","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faxnjr%2Fradha-programming-language","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxnjr%2Fradha-programming-language/lists"}