{"id":22531348,"url":"https://github.com/owaismohsin001/urdubasic","last_synced_at":"2025-03-28T05:18:51.458Z","repository":{"id":193433171,"uuid":"247880408","full_name":"owaismohsin001/UrduBasic","owner":"owaismohsin001","description":"The language Basic taught in many schools as their first language of students, is now implemented in Urdu(ish).","archived":false,"fork":false,"pushed_at":"2020-05-19T11:34:20.000Z","size":2368,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-02T06:13:22.020Z","etag":null,"topics":["abstract-syntax-tree","ast","basic","interpreter","language","languages","lexer","parser"],"latest_commit_sha":null,"homepage":"","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/owaismohsin001.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,"governance":null}},"created_at":"2020-03-17T04:38:50.000Z","updated_at":"2020-11-02T00:40:53.000Z","dependencies_parsed_at":"2023-09-08T06:52:10.574Z","dependency_job_id":null,"html_url":"https://github.com/owaismohsin001/UrduBasic","commit_stats":null,"previous_names":["ameerwasi001/urdubasic","zaidharoon001/urdubasic","owaismohsin001/urdubasic"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owaismohsin001%2FUrduBasic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owaismohsin001%2FUrduBasic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owaismohsin001%2FUrduBasic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owaismohsin001%2FUrduBasic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/owaismohsin001","download_url":"https://codeload.github.com/owaismohsin001/UrduBasic/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245972972,"owners_count":20702754,"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":["abstract-syntax-tree","ast","basic","interpreter","language","languages","lexer","parser"],"created_at":"2024-12-07T08:07:10.403Z","updated_at":"2025-03-28T05:18:51.440Z","avatar_url":"https://github.com/owaismohsin001.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UrduBASIC\nThe language Basic taught in many schools as their first language of students, in now implemented in Urdu(ish).\n\n## BASIC\nBASIC is a language that's still taught as first language to many students around the globe and especially in countries like Pakistan and India. It is a very old language implementation more specifically the formal implementation is GW-BASIC which doesn't have multi-line functions, and even has GOTO statements.\n\n## Urdu\nIn Pakistan it's often hard for students to grasp the concepts of programming in english but most programming languages today, are made in english and the first Urdu based programming language was \"UrduScript\", which partially was my inspiration for creating UrduBASIC. That language is largely an extremely beneficial language but since, it compiled to JS, it ought to give errors in english, and ought not to have direct I/O, but here comes in UrduBASIC. It's an interpreted language which provides it with the power of providing errors in Urdu.\n\n## Environment\nThis language is interpreted and both it's interpreter and parser are written entireley from scratch using python. It should be ran using PyPy(to make it fast, but if you don't care enough then CPython is good too), if one wants to run it directly from source but if you don't then I will try to make an exe package using Nuitka for it. Now another implementation has been released [here](https://github.com/ameerwasi001/UrduBasic-JsCompiler), that compiles it to JavaScript for gaining performance.\n\n## Complexity\nIt's predecessor UrduScript was a language that compiled to JavaScript so it naturally had all the complexity of JavaScript, while UrduBASIC tries to be simple while providing enough features to be useable, such as \"list generation\".\n\n## Why not \"real\" Urdu?\nThere are many reasons as to why I decided to use Urduish instead of real Urdu and excluding all the reasons provided in UrduScript's page but they obviously was included in design process. First of all, today's generation is moving more towards Urduish than traditional Urdu because smart phones and stuff and then, it must be said that writing Urdu for most keyboards, for most people is horendous, innatural, and isn't native.\n\n## Examples\nThis is a little example written in UrduBASIC.\n```\nRAKHO naam = PUCHO(\"Ap ka naam kya hai? \")\nAGAR naam == \"Ameer\" PHIR;\n\tLINE_LIKHO(\"Salam developer, Ameer\")\nWARNAAGAR naam == \"User\" PHIR\n\tLINE_LIKHO(\"User koi nam nahi hota\")\nWARNA\n\tLINE_LIKHO(\"Assalam-o-Alikum \"+naam)\nKHATAM\n```\nI should also point out that I will produce the most important examples from 10th class' book of BISE, in UrduBASIC.\n\n# Documentation\nWell, I am working on it and it should be avalible pretty soon.\n\n# Goals\nThis section is where, I ask for help. My current goal is to find a word for \"FOR\" because currently \"FOR\" keywords is used in language because of a lack of a better term in my vocabulary but I want your help to find an appropriate keyword for \"FOR\".\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fowaismohsin001%2Furdubasic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fowaismohsin001%2Furdubasic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fowaismohsin001%2Furdubasic/lists"}