{"id":28515156,"url":"https://github.com/amila-rukshan/chocopy","last_synced_at":"2026-04-24T12:32:46.915Z","repository":{"id":294383858,"uuid":"945292151","full_name":"Amila-Rukshan/chocopy","owner":"Amila-Rukshan","description":"ChocoPy - statically typed subset of Python.","archived":false,"fork":false,"pushed_at":"2025-07-03T06:11:26.000Z","size":91594,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-03T07:25:37.635Z","etag":null,"topics":["chocopy","dynamic-dispatch","llvm","object-oriented","programming-language"],"latest_commit_sha":null,"homepage":"","language":"C++","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/Amila-Rukshan.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":"2025-03-09T04:37:18.000Z","updated_at":"2025-07-03T06:11:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"ef255605-68df-4cab-8633-e8a4c35bdd28","html_url":"https://github.com/Amila-Rukshan/chocopy","commit_stats":null,"previous_names":["amila-rukshan/chocopy"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Amila-Rukshan/chocopy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Amila-Rukshan%2Fchocopy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Amila-Rukshan%2Fchocopy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Amila-Rukshan%2Fchocopy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Amila-Rukshan%2Fchocopy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Amila-Rukshan","download_url":"https://codeload.github.com/Amila-Rukshan/chocopy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Amila-Rukshan%2Fchocopy/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263718218,"owners_count":23500794,"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":["chocopy","dynamic-dispatch","llvm","object-oriented","programming-language"],"created_at":"2025-06-09T03:00:31.467Z","updated_at":"2026-04-24T12:32:46.910Z","avatar_url":"https://github.com/Amila-Rukshan.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"This tree is to implement **ChocoPy** language using LLVM compiler infrastructure.\n\n## ChocoPy v2.2\n\nSee [chocopy.pdf](./chocopy.pdf) for a full description of ChocoPy language with Type Checking and Operational Semantics.\n\n## Related content\n\n### Blog posts\n\n- [Building Dynamic Dispatch in ChocoPy: From Concept to Code](https://developerdiary.me/building-dynamic-dispatch-in-chocopy-from-concept-to-code/)\n\n## How to run?\n\nA Dev container is setup for linux OS with the llvm dependancies. Just open the project in `VSCode` and from the Debug window, run `Debug ChocoPy`.\n\n## TODOS\n\n- [x] Lexing\n- [x] Parsing\n- [x] Classes, methods and attributes (with default values)\n- [x] `\\_\\_init\\_\\_` method (aka class constructor) to initilize attributes\n- [x] Method calling with dynamic dispatch\n- [x] Builtin 'print' function\n- [x] Builtin 'str' type\n- [ ] Complete type checking\n- [x] Control flows - `if-elif-else`, `while` and `for`\n- [x] Binary and unary oprations for int, bool and str types\n- [x] List data type support\n- [x] Nested functions with closures\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famila-rukshan%2Fchocopy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famila-rukshan%2Fchocopy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famila-rukshan%2Fchocopy/lists"}