{"id":13782920,"url":"https://github.com/njZhuMin/SimpleC-compiler","last_synced_at":"2025-05-11T16:33:28.516Z","repository":{"id":216005152,"uuid":"58252726","full_name":"njZhuMin/SimpleC-compiler","owner":"njZhuMin","description":"A simple C interpreter that interpretes itself.","archived":false,"fork":false,"pushed_at":"2018-03-09T15:16:46.000Z","size":34,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-03T18:16:58.732Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/njZhuMin.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":"2016-05-07T06:23:40.000Z","updated_at":"2023-03-05T03:10:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"4cbee61f-e07f-467c-a0c1-7cebbcb81b4b","html_url":"https://github.com/njZhuMin/SimpleC-compiler","commit_stats":null,"previous_names":["njzhumin/simplec-compiler"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/njZhuMin%2FSimpleC-compiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/njZhuMin%2FSimpleC-compiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/njZhuMin%2FSimpleC-compiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/njZhuMin%2FSimpleC-compiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/njZhuMin","download_url":"https://codeload.github.com/njZhuMin/SimpleC-compiler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253596026,"owners_count":21933496,"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":[],"created_at":"2024-08-03T18:01:48.052Z","updated_at":"2025-05-11T16:33:28.282Z","avatar_url":"https://github.com/njZhuMin.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"# Simplec-compiler\nA simple C interpreter that interpretes itself.\n\n## How to Run the Code\n\n1.clone source code `SimpleC.c` to your dir.\n```bash\ngit clone https://github.com/njZhuMin/SimpleC-compiler.git\n```\n\n2.Compile\n```bash\ngcc -o SimpleC SimpleC.c (you may need the -m32 option on 64-bit machines)\n./SimpleC hello.c\n./SimpleC -s hello.c\n```\n\n3.Try this out\n```bash\n./SimpleC SimpleC.c hello.c\n./SimpleC SimpleC.c SimpleC.c hello.c\n```\n\n# About\n\nThis project is inspired by [project c4](https://github.com/rswier/c4) and is mainly based on it.\n\nHowever, I rewrited them all to make the code more understable.\n\nDespite the complexity we saw in books about compiler design, writing one is not that hard. You don't need that much theory though they will help for better understanding the logic behind the code.\n\n# Tutorial\nhttps://zhum.in/blog/categories/project/SimpleC\n\n# Resources\nFurther Reading:\n[Let's Build a Compiler](http://compilers.iecc.com/crenshaw/): An excellent starting material for building compiler.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FnjZhuMin%2FSimpleC-compiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FnjZhuMin%2FSimpleC-compiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FnjZhuMin%2FSimpleC-compiler/lists"}