{"id":18279015,"url":"https://github.com/m-doescode/cum-pl","last_synced_at":"2025-10-06T21:12:16.552Z","repository":{"id":227109804,"uuid":"770418394","full_name":"m-doescode/cum-pl","owner":"m-doescode","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-11T22:57:49.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T04:43:13.674Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/m-doescode.png","metadata":{"files":{"readme":"readme.txt","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}},"created_at":"2024-03-11T14:16:16.000Z","updated_at":"2024-03-11T14:16:45.000Z","dependencies_parsed_at":"2024-12-22T19:28:41.153Z","dependency_job_id":"308655eb-2c0f-4b11-b22f-d270e9443aa5","html_url":"https://github.com/m-doescode/cum-pl","commit_stats":null,"previous_names":["m-doescode/cum-pl"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/m-doescode/cum-pl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-doescode%2Fcum-pl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-doescode%2Fcum-pl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-doescode%2Fcum-pl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-doescode%2Fcum-pl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m-doescode","download_url":"https://codeload.github.com/m-doescode/cum-pl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-doescode%2Fcum-pl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278680658,"owners_count":26027331,"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","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-05T12:27:05.597Z","updated_at":"2025-10-06T21:12:16.528Z","avatar_url":"https://github.com/m-doescode.png","language":"Python","readme":"alright.\n\nso, u decided to open dis.\n\nRoight. Well, you need to run this first:\n\npip3 install sly\n\nDas it. Then, ur dun.\n\nTo run a file, do 'py -3 calc_cli.py your_script.cum'\n\n===\n\nCLI USAGE:\n\n# Interpret a file\npy -3 calc_cli.py your_script.cum\n\n# Compile a file\npy -3 calc_cli.py your_script.cum --compile --output output_cum\n\n# Compile a file to readable assembly (you can also add --output to redirect)\npy -3 calc_cli.py your_script.cum --compile-asm\n\n# Interpret a bytecode file\npy -3 calc_cli.py bytecode_cum --bytecode\n\n===\n\nThe language is pretty simple.\n\nExpressions: Math, bitch.\nprint(1 + 2 * 4 / (-5 + 8 * 3))\n\nStrings; Yes.\nprint(\"Hello \" + \"world!\")\n\nFunctions; heeel yeah.\n\nCumulative Upgrading Multiplexer (CUM) lang has a very extensive and thorough standard library featuring over (at least) 2 functions.\nThese functions are the language's main feature and can be strung together to make anything.\n\nFor example, finding length of a 2d line (Pythagoreas' theorum):\n\n```cum\n\nx1 = 2;\ny1 = 5;\nx2 = 10;\ny2 = 12;\n\ndist = sqrt((y2-y1)*(y2-y1)+(x2-x1)*(x2-x1));\nprint(dist);\n\n```\n\nOutput is: 10.63014581273465\nVery accurate, as you see.\n\nThe standard library (LONG):\n * print - Prints shit.\n * sqrt - Square root.\n\nWhew! That was a lot, wasn't it?\n\nAssigning variables is simply:\n\n```cum\nx = 123\n```\n\nThat's all. No multi assignment. Each assignment takes it's own line.\n\nFinally, each statement is separated by a semicolon.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-doescode%2Fcum-pl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm-doescode%2Fcum-pl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-doescode%2Fcum-pl/lists"}