{"id":28801422,"url":"https://github.com/akshaygogeri/if-else-compiler-in-c","last_synced_at":"2026-02-17T20:33:16.024Z","repository":{"id":299761820,"uuid":"102931232","full_name":"AkshayGogeri/If-Else-Compiler-in-C","owner":"AkshayGogeri","description":"Simulation of front end phase of C Compiler involving if-else construct using lex and yacc tools.","archived":false,"fork":false,"pushed_at":"2017-09-09T06:18:19.000Z","size":7,"stargazers_count":9,"open_issues_count":0,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-24T19:26:51.486Z","etag":null,"topics":["compiler-design","if-else","lex","yacc"],"latest_commit_sha":null,"homepage":null,"language":"Yacc","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/AkshayGogeri.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,"zenodo":null}},"created_at":"2017-09-09T06:03:14.000Z","updated_at":"2024-10-11T08:03:52.000Z","dependencies_parsed_at":"2025-06-18T06:59:46.293Z","dependency_job_id":"23511e23-aab7-431c-99a8-2a0b2bea7cc9","html_url":"https://github.com/AkshayGogeri/If-Else-Compiler-in-C","commit_stats":null,"previous_names":["akshaygogeri/if-else-compiler-in-c"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AkshayGogeri/If-Else-Compiler-in-C","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AkshayGogeri%2FIf-Else-Compiler-in-C","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AkshayGogeri%2FIf-Else-Compiler-in-C/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AkshayGogeri%2FIf-Else-Compiler-in-C/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AkshayGogeri%2FIf-Else-Compiler-in-C/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AkshayGogeri","download_url":"https://codeload.github.com/AkshayGogeri/If-Else-Compiler-in-C/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AkshayGogeri%2FIf-Else-Compiler-in-C/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29557312,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T20:14:27.083Z","status":"ssl_error","status_checked_at":"2026-02-17T20:14:26.018Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["compiler-design","if-else","lex","yacc"],"created_at":"2025-06-18T07:30:37.957Z","updated_at":"2026-02-17T20:33:11.009Z","avatar_url":"https://github.com/AkshayGogeri.png","language":"Yacc","funding_links":[],"categories":[],"sub_categories":[],"readme":"# If-Else-Compiler-in-C\nSimulation of front end phase of C Compiler involving if-else construct using lex and yacc tools.\n\n\nRunning Instructions:\n1.run -\u003e sh compile.sh\n\n\nfiles:\nlexer.l\nparser.y\ninput.c\ninput3.c\ninput4.c\n\nExplanation:\n\nLexical Analysis: Generation of tokens in lexer.l using regular expressions.\nSyntax Analysis: Created grammar for entire C code that has IF-ELSE construct. Nested IFs are also taken into account. Parsing generates \"Success\" or \"error\" with line number.\n\nSemantic Analysis : Annotate the grammar with actions to create symbol table, create Abstract Syntax Tree nodes, check for type, check for scope and return detailed errors if any of these fail. The symbol table contains the token name, token data type, token type, line number where it is defined.\n\nIntermediate Code Generation: Generated intermediate code on the fly.\n\nContributors:\n1PI14CS006 ABHISHEK SINGH\n1PI14CS013 AKSHAY GOGERI\n1PI14CS021 ASHWIN KAMAT\n1PI14CS027 BITRA BANUCHANDRA\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakshaygogeri%2Fif-else-compiler-in-c","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakshaygogeri%2Fif-else-compiler-in-c","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakshaygogeri%2Fif-else-compiler-in-c/lists"}