{"id":22542556,"url":"https://github.com/BloodRoseorg/gyb","last_synced_at":"2025-08-04T06:32:27.669Z","repository":{"id":214483027,"uuid":"735228271","full_name":"JohnAlexCO/gyb","owner":"JohnAlexCO","description":"A bytecode interpreter for the Garter \u0026 Gasm programming languages","archived":false,"fork":false,"pushed_at":"2024-02-15T02:07:54.000Z","size":42,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"gyb","last_synced_at":"2024-02-15T03:21:54.053Z","etag":null,"topics":["bytecode-interpreter","compiler-toolchain","garter","garter-language"],"latest_commit_sha":null,"homepage":"https://modula.dev/garter","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JohnAlexCO.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}},"created_at":"2023-12-24T06:08:31.000Z","updated_at":"2024-02-15T03:21:54.698Z","dependencies_parsed_at":null,"dependency_job_id":"ed4b9b94-890d-4788-9136-6ffc13d52913","html_url":"https://github.com/JohnAlexCO/gyb","commit_stats":null,"previous_names":["johnalexco/gyb"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnAlexCO%2Fgyb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnAlexCO%2Fgyb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnAlexCO%2Fgyb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnAlexCO%2Fgyb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JohnAlexCO","download_url":"https://codeload.github.com/JohnAlexCO/gyb/tar.gz/refs/heads/gyb","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228604675,"owners_count":17944280,"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":["bytecode-interpreter","compiler-toolchain","garter","garter-language"],"created_at":"2024-12-07T13:11:06.682Z","updated_at":"2025-08-04T06:32:22.384Z","avatar_url":"https://github.com/JohnAlexCO.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gyb\nA bytecode interpreter for the Garter \u0026amp; Gasm programming languages\n\n## Purpose\n\ngyb is intended to function as a portable bytecode interpreter.\ngyb's architecture is designed to be close-enough to a real machine\nthat an assembly language designed to target this bytecode can be \ntranslated to real machine-code somewhat trivially.\n\n## Implementation\n\ngyb is based on a \"ture\", \na register-based turing computer\nthat runs just the process and has wrappers for common syscalls.\nIt has a very limited instruction set\nand it's bytecode is intended to\nresemble RISC-V and x86-64. \n\ngyb is also written in C, and will stay that way.\nI plan to make *alternative versions* so that there's\nmore options for bootstrapping the Garter compiler-chain,\nbut I think having a version of gyb written in C\nat every step in its life-cycle will be really important\nto the accessibility of the language as a whole.\n\n## Limitations and Scope \n\ngyb is only intended to run on 64-bit machines,\nand building a version that runs on 32-bit computers \nisn't really in my plans. \nAdditionally, the gyb interpreter can only handle\na small subset of system calls.\nThis program is intended to function\nas part of the Garter cross-compilation stage,\nand to act as a target for Gasm assembly.\nAnything beyond those two goals is outside the scope of this project.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBloodRoseorg%2Fgyb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FBloodRoseorg%2Fgyb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBloodRoseorg%2Fgyb/lists"}