{"id":20837353,"url":"https://github.com/devkanix/kanishk_compiler","last_synced_at":"2025-10-08T04:07:49.832Z","repository":{"id":256167354,"uuid":"854497741","full_name":"devKanix/Kanishk_Compiler","owner":"devKanix","description":"Kanishk_Compiler: A simple C++ compiler that tokenizes, parses, and generates assembly code. Supports basic language features like `exit` statements. Built with NASM and MinGW.","archived":false,"fork":false,"pushed_at":"2024-09-09T09:28:04.000Z","size":238,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-12T09:43:27.814Z","etag":null,"topics":["compiler-design","cpp"],"latest_commit_sha":null,"homepage":"","language":"C++","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/devKanix.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":"2024-09-09T09:28:00.000Z","updated_at":"2024-09-10T04:56:53.000Z","dependencies_parsed_at":"2024-09-09T11:16:44.186Z","dependency_job_id":"1d4b6651-1c02-4d92-bb8b-7c64c8b706e2","html_url":"https://github.com/devKanix/Kanishk_Compiler","commit_stats":null,"previous_names":["devkanix/kanishk_compiler"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/devKanix/Kanishk_Compiler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devKanix%2FKanishk_Compiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devKanix%2FKanishk_Compiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devKanix%2FKanishk_Compiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devKanix%2FKanishk_Compiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devKanix","download_url":"https://codeload.github.com/devKanix/Kanishk_Compiler/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devKanix%2FKanishk_Compiler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278886845,"owners_count":26063060,"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-08T02:00:06.501Z","response_time":56,"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":["compiler-design","cpp"],"created_at":"2024-11-18T01:07:17.303Z","updated_at":"2025-10-08T04:07:49.805Z","avatar_url":"https://github.com/devKanix.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# C++ Compiler\n\nThis project aims to develop a C++ compiler using principles of compiler design implemented in C++ programming language.\n\n## Overview\n\nThis compiler translates C++ source code into executable machine code. It consists of the following components:\n\n- **Lexer:** Tokenizes the input source code.\n- **Parser:** Parses the token stream to determine the syntactic structure.\n- **Semantic Analyzer:** Performs semantic analysis to check for language rules and constraints.\n- **Intermediate Code Generator:** Generates intermediate representation for optimization and translation.\n- **Code Optimizer:** Optimizes the intermediate code for efficiency.\n- **Code Generator:** Translates the optimized code into target machine code.\n\n## Usage\n\nTo use the C++ compiler, follow these steps:\n\n1. Clone the repository:\n\ngit clone https://github.com/kanishk-chaudhary/Kanishk_Compiler.git\n\n\n2. Navigate to the project directory:\n\ncd cpp-compiler\n\n\n3. Compile the source code:\n\n\n4. Run the compiler with the input source code file:\n\n./compiler input.cpp\n\n\n5. The compiler will generate the executable output file:\n\n./a.out\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevkanix%2Fkanishk_compiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevkanix%2Fkanishk_compiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevkanix%2Fkanishk_compiler/lists"}