{"id":19340993,"url":"https://github.com/belovetech/monty","last_synced_at":"2026-06-11T01:31:28.495Z","repository":{"id":107018727,"uuid":"504939130","full_name":"belovetech/monty","owner":"belovetech","description":"Data Structures in C - Stacks (LIFO) and Queues (FIFO). This project's goal is to learn about non-primitive linear data structures and their applications. What do LIFO and FIFO mean? What exactly is a stack, and when should you use it? What exactly is a queue, and when should you use it? What are the most common applications for stacks and queues?","archived":false,"fork":false,"pushed_at":"2022-06-19T20:23:32.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-17T01:21:31.316Z","etag":null,"topics":["c","data-structure-and-algorithm","queue","stack"],"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/belovetech.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}},"created_at":"2022-06-18T20:00:42.000Z","updated_at":"2023-04-09T10:16:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"c970d5b5-be1a-404a-aaf4-14c7585dcd21","html_url":"https://github.com/belovetech/monty","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/belovetech/monty","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/belovetech%2Fmonty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/belovetech%2Fmonty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/belovetech%2Fmonty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/belovetech%2Fmonty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/belovetech","download_url":"https://codeload.github.com/belovetech/monty/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/belovetech%2Fmonty/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34178819,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"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":["c","data-structure-and-algorithm","queue","stack"],"created_at":"2024-11-10T03:28:41.369Z","updated_at":"2026-06-11T01:31:28.462Z","avatar_url":"https://github.com/belovetech.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stacks, Queues - LIFO, FIFO\n\n## Monty\n    A project for Alx Africa, this is an interpreter for Monty bytecodes files.\n    Monty is a scripting language that is first compiled into Monty byte codes.\n    It relies on a unique stack data structure with specific instructions to manipulate it.\n    Monty byte codes usually have the .m extension.\n## push\n    Usage: push \u003cint\u003e where \u003cint\u003e is an integer\n\n    What it does: pushes an element to the stack.\n\n## pall\n    Usage: pall\n\n    What it does: prints all the values on the stack, starting from the top of the stack.\n\n## pint\n    Usage: pint\n\n    What it does: prints the value at the top of the stack followed by a new line.\n\n## pop\n    Usage: pop\n\n    What it does: removes the top element of the stack.\n\n## swap\n    Usage: swap\n\n    What it does: swaps the top two elements of the stack.\n\n## add\n    Usage: add\n\n    What it does: adds the top two elements of the stack. The answer is stored in the second top\n    element of the stack and the top element is removed so that the top element contains the result\n    and the stack is one element shorter.\n\n## sub\n    Usage: sub\n\n    What it does: subtracts the top element of the stack from the second element of the stack.\n    The answer is stored in the second top element of the stack and the top element is removed\n    so that the top element contains the result and the stack is one element shorter.\n\n## div\n    Usage: div\n\n    What it does: divides the second top element of the stack by the first element of the stack.\n    The answer is stored in the second top element of the stack and the top element is removed so\n    that the top element contains the result and the stack is one element shorter.\n\n## mul\n    Usage: mul\n\n    What it does: multiplies the top two elements of the stack.\n    The answer is stored in the second top element of the stack\n    and the top element is removed so that the top element contains the result and the stack is one element shorter.\n\n## mod\n    Usage: mod\n\n    What it does: computes the remainder of the division of the second top element of the stack by the top element of the stack.\n    The answer is stored in the second top element of the stack and the top element is removed so that the top element contains\n    the result and the stack is one element shorter.\n\n## Authors\n\n    - Abeeb Raheem\n    - Junaid-eko Raimot\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbelovetech%2Fmonty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbelovetech%2Fmonty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbelovetech%2Fmonty/lists"}