{"id":21597624,"url":"https://github.com/aadit3003/compiler-construction","last_synced_at":"2025-10-14T17:07:43.921Z","repository":{"id":111937352,"uuid":"464024059","full_name":"Aadit3003/Compiler-Construction","owner":"Aadit3003","description":"(CS F363) Assignment as part of the Compiler Construction course, under Prof. Vandana Agarwal","archived":false,"fork":false,"pushed_at":"2022-06-25T09:25:44.000Z","size":1023,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-18T11:33:40.048Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":false,"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/Aadit3003.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":"2022-02-27T03:08:52.000Z","updated_at":"2022-06-25T08:47:57.000Z","dependencies_parsed_at":"2023-03-09T22:00:19.715Z","dependency_job_id":null,"html_url":"https://github.com/Aadit3003/Compiler-Construction","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Aadit3003/Compiler-Construction","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aadit3003%2FCompiler-Construction","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aadit3003%2FCompiler-Construction/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aadit3003%2FCompiler-Construction/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aadit3003%2FCompiler-Construction/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Aadit3003","download_url":"https://codeload.github.com/Aadit3003/Compiler-Construction/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aadit3003%2FCompiler-Construction/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279020085,"owners_count":26086805,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-24T18:09:30.790Z","updated_at":"2025-10-14T17:07:43.907Z","avatar_url":"https://github.com/Aadit3003.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Compiler-Construction\nThis project was done as part of the course CS F363 (Compiler Construction) in the Second Semester of AY 21-22 under the guidance of  Prof. Vandana Agarwal, BITS Pilani.\n\n## Brief Description\nThe Compiler translates a Strongly typed language (Primitive and Complex data types) into equivalent machine code. The compiler was written entirely in the C language. The code was written in 2 stages and includes the following modules:\n- Lexical Analyzer\n- Syntax Analyzer\n- Abstract Syntax Tree, Symbol Table\n- Type Checker (Syntax analysis)\n- Semantic Analyzer\n- Code Generator\n\n## Installation and Use\nSimply run the .exe file using the command \u003cem\u003e./stage2exe testcase.txt\u003c/em\u003e (ensure the test cases exist in the same directory). Alternatively, you may use the makefile. Once executed, select one of the 10 options to demonstrate the compiler's capabilities.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faadit3003%2Fcompiler-construction","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faadit3003%2Fcompiler-construction","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faadit3003%2Fcompiler-construction/lists"}