{"id":19297214,"url":"https://github.com/Jiantastic/c-to-mips-compiler","last_synced_at":"2025-04-22T08:31:18.413Z","repository":{"id":88039698,"uuid":"51071331","full_name":"Jiantastic/c-to-mips-compiler","owner":"Jiantastic","description":"C to MIPS Assembly Compiler","archived":false,"fork":false,"pushed_at":"2022-09-16T18:59:31.000Z","size":75118,"stargazers_count":102,"open_issues_count":1,"forks_count":28,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-09T23:02:23.949Z","etag":null,"topics":["c-to-mips-compiler","compiler","mips-assembly"],"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/Jiantastic.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":"2016-02-04T11:23:50.000Z","updated_at":"2024-08-11T07:03:26.000Z","dependencies_parsed_at":"2023-03-11T07:15:59.910Z","dependency_job_id":null,"html_url":"https://github.com/Jiantastic/c-to-mips-compiler","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jiantastic%2Fc-to-mips-compiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jiantastic%2Fc-to-mips-compiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jiantastic%2Fc-to-mips-compiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jiantastic%2Fc-to-mips-compiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jiantastic","download_url":"https://codeload.github.com/Jiantastic/c-to-mips-compiler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250206149,"owners_count":21392195,"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":["c-to-mips-compiler","compiler","mips-assembly"],"created_at":"2024-11-09T23:01:48.106Z","updated_at":"2025-04-22T08:31:18.408Z","avatar_url":"https://github.com/Jiantastic.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"# c-to-mips-compiler\r\n\r\nCompiles C code into MIPS Assembly. Source code is in the wjw13 folder\r\n\r\nTakes in C code on `stdin`, spits out MIPS Assembly on `stdout`\r\n\r\nDeveloped with good old [Flex](http://flex.sourceforge.net/) and [Bison](https://www.gnu.org/software/bison/)\r\n\r\nHave a look at [VisualMips](https://visualmips.github.io/) if you would like to try out a web-based MIPS assembler!\r\n\r\n## Usage\r\n\r\n`cd c-to-mips-compiler/wjw13/ \u0026\u0026 make` builds the project\r\n\r\n`cd bin \u0026\u0026 cat test1.c | ./c_compiler` for an example usage\r\n\r\nYou should now see some generated MIPS assembly code \r\n\r\n      .text\r\n      .align 2\r\n      .globl main\r\n      .ent    main\r\n      .type main,@function\r\n      \r\n      \r\n## References\r\n\r\n'Dragon Book'\r\n\r\n\r\n\r\n\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJiantastic%2Fc-to-mips-compiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJiantastic%2Fc-to-mips-compiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJiantastic%2Fc-to-mips-compiler/lists"}