{"id":26487331,"url":"https://github.com/ellipticobj/alpha","last_synced_at":"2025-07-21T04:08:20.067Z","repository":{"id":274409254,"uuid":"922801071","full_name":"ellipticobj/alpha","owner":"ellipticobj","description":"stack based programming language","archived":false,"fork":false,"pushed_at":"2025-02-11T04:10:02.000Z","size":17542,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-20T06:38:14.116Z","etag":null,"topics":["programming-language","stack-based-language"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ellipticobj.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-27T05:01:51.000Z","updated_at":"2025-02-23T15:13:45.000Z","dependencies_parsed_at":"2025-01-27T08:39:04.838Z","dependency_job_id":null,"html_url":"https://github.com/ellipticobj/alpha","commit_stats":null,"previous_names":["ellipticobj/alpha-lang","ellipticobj/alpha"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ellipticobj/alpha","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ellipticobj%2Falpha","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ellipticobj%2Falpha/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ellipticobj%2Falpha/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ellipticobj%2Falpha/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ellipticobj","download_url":"https://codeload.github.com/ellipticobj/alpha/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ellipticobj%2Falpha/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266236966,"owners_count":23897299,"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":["programming-language","stack-based-language"],"created_at":"2025-03-20T06:38:16.675Z","updated_at":"2025-07-21T04:08:20.048Z","avatar_url":"https://github.com/ellipticobj.png","language":"Python","readme":"# alpha\na stack based programming language\n\n# why make this?\ni was watching a youtube video (i forgot the name sorry :(..), i got inspired by it to create this. additionally, since i had a school project coming up where i had to create a programming language, i thought itd be a great idea to get the feels of it by starting with this simpler project. \n\n# roadmap\nquit command  \ninput command  \nmacros  \nmultiple stack support   \nvariable support   \n\n# building\nrun build.sh (*nix only)\n\n# syntax\n## push\n```\nPUSH \u003cval\u003e\n```\n\npushes \u003cval\u003e to the stack\n\n## math\n```\nADD\nSUB\nMUL\nDIV\n```\n\ndoes an operation on the top two elements of the stack\n\n## print\n```\nPRINT\n```\nprints the top element of the stack\n\n## pop\n```\nPOP\n```\nremoves the top element of the list \n\n## dump\n```\nDUMP\n```\n\nclears the stack and prints everything\n\n## duplicate\n```\nDUP\n```\n\nduplicates the top element and adds it to the stack\n\n## swap\n```\nSWAP\n```\n\nswaps the top two elements of the stack\n\n## depth\n```\nDEPTH\n```\n\nreturns the depth of the stack\n\n## stack\n```\nSTACK\n```\n\nreturns the entire stack, like DUMP but it doesnt purge the stack\n\n## drop\n```\nDROP\n```\n\npurges the stack, like DUMP but it doesnt return the stack\n\n## rot\n```\nROT\n```\n\nrotates the top three elements of the stack:\n[1, 2, 3] ROT =\u003e [2, 3, 1]\n\n## jump, label\n```\nLABEL labelname\nJUMP labelname\n```\n\n`JUMP` makes the code skip everything between it and `LABEL`\ncan be used to make infinite loops\n\n## if else\n```\nIF\nPUSH true\nELSE\nPUSH false\nENDIF\n```\n\nif statement executes the code between it and else if the top element in the stack is true\nif statements need an endif\n\n## greater than, less than, equals to\n```\nGT\nLT\nEQ\n```\n\nthese operators pop the top two elemnts and add the result to the stack\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fellipticobj%2Falpha","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fellipticobj%2Falpha","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fellipticobj%2Falpha/lists"}