{"id":17584596,"url":"https://github.com/kaustubhhiware/compiler","last_synced_at":"2025-03-29T17:23:51.981Z","repository":{"id":91736381,"uuid":"77740680","full_name":"kaustubhhiware/cOMPILER","owner":"kaustubhhiware","description":"Compiler for restricted grammar C.","archived":false,"fork":false,"pushed_at":"2016-12-31T18:02:08.000Z","size":485,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-04T18:30:03.718Z","etag":null,"topics":["c","compiler","compiler-design"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kaustubhhiware.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,"publiccode":null,"codemeta":null}},"created_at":"2016-12-31T13:08:44.000Z","updated_at":"2019-08-29T08:54:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"0100c794-269e-44f5-8ef7-0788c73a8356","html_url":"https://github.com/kaustubhhiware/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/kaustubhhiware%2FcOMPILER","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaustubhhiware%2FcOMPILER/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaustubhhiware%2FcOMPILER/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaustubhhiware%2FcOMPILER/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kaustubhhiware","download_url":"https://codeload.github.com/kaustubhhiware/cOMPILER/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246217055,"owners_count":20742128,"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","compiler","compiler-design"],"created_at":"2024-10-22T02:07:02.615Z","updated_at":"2025-03-29T17:23:51.958Z","avatar_url":"https://github.com/kaustubhhiware.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cOMPILER\n\nA tiny-c compiler made using *flex*, *yacc*, and *gnu assembler*.\ntiny-c has instructions are a subset of instructions from C.\nTargetted for x86_64 architecture.\n\nWritten for Compilers Course (CS39003). To know more about tiny-c, go through the [docs](docs/) folder.\n\n## Testing\n\nThe test files can be found in the `tests` folder. Run them with - `make testi` , i = 1 to 5\n\nTest your own tiny-c file with :\n\u003cpre style=\"background: rgb(238, 238, 238); border: 1px solid rgb(204, 204, 204); padding: 5px 10px;\"\u003emake\n./a.out \u003c testfile.c  test_s_file_name\ngcc -c test_s_file_name.s -o test_o_file_name.o\ngcc test_o_file_name.o -L. -g -lmylib -o test.out\n./test.out\u003c/pre\u003e\nP.S : The compiler assumes your tiny c file is correct, so if a segmentation fault is faced, make sure your test file is tiny-c compatible.\n\nThe quads generated for this program can be found in the test folder.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaustubhhiware%2Fcompiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaustubhhiware%2Fcompiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaustubhhiware%2Fcompiler/lists"}