{"id":19936834,"url":"https://github.com/sachinganesh/compilerdesign","last_synced_at":"2026-05-11T08:42:03.462Z","repository":{"id":66115085,"uuid":"120652002","full_name":"SachinGanesh/CompilerDesign","owner":"SachinGanesh","description":"A mini project for understanding Compiler Design (2015)","archived":false,"fork":false,"pushed_at":"2018-02-07T18:44:36.000Z","size":985,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-12T02:58:04.259Z","etag":null,"topics":["compiler","compiler-design","compiler-principles","miniproject","php"],"latest_commit_sha":null,"homepage":null,"language":"CSS","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/SachinGanesh.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":"2018-02-07T18:08:06.000Z","updated_at":"2023-05-20T04:27:43.000Z","dependencies_parsed_at":"2023-02-20T18:00:57.859Z","dependency_job_id":null,"html_url":"https://github.com/SachinGanesh/CompilerDesign","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/SachinGanesh%2FCompilerDesign","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SachinGanesh%2FCompilerDesign/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SachinGanesh%2FCompilerDesign/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SachinGanesh%2FCompilerDesign/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SachinGanesh","download_url":"https://codeload.github.com/SachinGanesh/CompilerDesign/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241363112,"owners_count":19950690,"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":["compiler","compiler-design","compiler-principles","miniproject","php"],"created_at":"2024-11-12T23:29:10.150Z","updated_at":"2026-05-11T08:42:03.396Z","avatar_url":"https://github.com/SachinGanesh.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CompilerDesign\nA mini project for understanding the science of building Compiler; (Compiler Design) (VTU - BE - 6th Semester) (2015)\n------\n\nI built this project to understand the structure of a compiler. I have completed only first (Lexical Analyzer) out of the 7 phases of Compiler Design. Feel free to clone this project and complete it if you are interested.\n\n## Lexical Analysis\n\u003cimg src=\"images/Inkedcompiler_phases.jpg\" width=\"300px\"\u003e\n-------\nThe first phase of compiler works as a text scanner. This phase scans the source code as a stream of characters and converts it into meaningful lexemes. Lexical analyzer represents these lexemes in the form of tokens as:\n```\n\u003ctoken-name, attribute-value\u003e\n```\n\nSymbol Table \u0026 String table will also be genererated along with lexemes.\n\n## Sample Input\nGive any C program snippet as input\n```\nint a = b + c;\n```\nOutput lexemes:\n```\n\u003cKEYWORD,int\u003e  \u003cIDENTIFIER,a\u003e  \u003cOPERATOR,=\u003e  \u003cIDENTIFIER,b\u003e  \u003cOPERATOR,+\u003e  \u003cIDENTIFIER,c\u003e \n```\n## Screenshots\n![](/images/Page1.png)\n![](/images/Page2.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsachinganesh%2Fcompilerdesign","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsachinganesh%2Fcompilerdesign","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsachinganesh%2Fcompilerdesign/lists"}