{"id":21197378,"url":"https://github.com/victorpreston/monty","last_synced_at":"2026-04-15T21:31:17.027Z","repository":{"id":230801649,"uuid":"779278844","full_name":"victorpreston/monty","owner":"victorpreston","description":" Monty  is a scripting language that is first compiled into Monty byte codes (Just like Python). It relies on a unique stack, with specific instructions to manipulate it. The goal of this project is to create an interpreter for Monty ByteCodes files.","archived":false,"fork":false,"pushed_at":"2024-03-30T01:32:16.000Z","size":31,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-01T16:36:25.894Z","etag":null,"topics":["alx","alx-low-level-programming","brainfuck","c","clanguage","compiler","cprogramming","gcc","interpreter","monty","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/victorpreston.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}},"created_at":"2024-03-29T13:07:43.000Z","updated_at":"2024-06-17T15:59:19.000Z","dependencies_parsed_at":"2024-04-04T01:30:35.472Z","dependency_job_id":"0b8e2611-4004-48d1-a153-c3f6cc7ee3da","html_url":"https://github.com/victorpreston/monty","commit_stats":null,"previous_names":["victorpreston/monty"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/victorpreston/monty","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorpreston%2Fmonty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorpreston%2Fmonty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorpreston%2Fmonty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorpreston%2Fmonty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/victorpreston","download_url":"https://codeload.github.com/victorpreston/monty/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorpreston%2Fmonty/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31861260,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["alx","alx-low-level-programming","brainfuck","c","clanguage","compiler","cprogramming","gcc","interpreter","monty","queue","stack"],"created_at":"2024-11-20T19:44:09.566Z","updated_at":"2026-04-15T21:31:16.990Z","avatar_url":"https://github.com/victorpreston.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\nLearning Objectives\n-------------------\n\n### General\n\n-   What do LIFO and FIFO mean\n-   What is a stack, and when to use it\n-   What is a queue, and when to use it\n-   What are the common implementations of stacks and queues\n-   What are the most common use cases of stacks and queues\n-   What is the proper way to use global variables\n\nRequirements\n------------\n\n### General\n\n-   Allowed editors: `vi`, `vim`, `emacs`\n-   All your files will be compiled on Ubuntu 20.04 LTS using gcc, using the options -Wall -Werror -Wextra -pedantic -std=c90\n-   All your files should end with a new line\n-   A `README.md` file, at the root of the folder of the project is mandatory\n-   Your code should use the `Betty` style. It will be checked using [betty-style.pl](https://github.com/holbertonschool/Betty/blob/master/betty-style.pl \"betty-style.pl\") and [betty-doc.pl](https://github.com/holbertonschool/Betty/blob/master/betty-doc.pl \"betty-doc.pl\")\n-   You allowed to use a maximum of one global variable\n-   No more than 5 functions per file\n-   You are allowed to use the C standard library\n-   The prototypes of all your functions should be included in your header file called `monty.h`\n-   Don't forget to push your header file\n-   All your header files should be include guarded\n-   You are expected to do the tasks in the order shown in the project\n\n\nMore Info\n---------\n\n### Data structures\n\nPlease use the following data structures for this project. Don't forget to include them in your header file.\n\n```\n/**\n * struct stack_s - doubly linked list representation of a stack (or queue)\n * @n: integer\n * @prev: points to the previous element of the stack (or queue)\n * @next: points to the next element of the stack (or queue)\n *\n * Description: doubly linked list node structure\n * for stack, queues, LIFO, FIFO\n */\ntypedef struct stack_s\n{\n        int n;\n        struct stack_s *prev;\n        struct stack_s *next;\n} stack_t;\n\n```\n\n```\n/**\n * struct instruction_s - opcode and its function\n * @opcode: the opcode\n * @f: function to handle the opcode\n *\n * Description: opcode and its function\n * for stack, queues, LIFO, FIFO\n */\ntypedef struct instruction_s\n{\n        char *opcode;\n        void (*f)(stack_t **stack, unsigned int line_number);\n} instruction_t;\n\n```\n\n### Compilation \u0026 Output\n\n-   Your code will be compiled this way:\n\n```\n$ gcc -Wall -Werror -Wextra -pedantic -std=c90 *.c -o monty\n\n```\n\n-   Any output must be printed on `stdout`\n-   Any error message must be printed on `stderr`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvictorpreston%2Fmonty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvictorpreston%2Fmonty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvictorpreston%2Fmonty/lists"}