{"id":13804358,"url":"https://github.com/lemoncmd/vcc","last_synced_at":"2026-01-17T21:18:22.616Z","repository":{"id":134787823,"uuid":"212255980","full_name":"lemoncmd/vcc","owner":"lemoncmd","description":"C compiler written in V","archived":false,"fork":false,"pushed_at":"2024-03-05T04:16:19.000Z","size":318,"stargazers_count":97,"open_issues_count":0,"forks_count":6,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-08-04T01:03:32.254Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"V","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lemoncmd.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}},"created_at":"2019-10-02T04:35:01.000Z","updated_at":"2024-06-08T14:37:45.000Z","dependencies_parsed_at":"2024-01-04T23:15:09.135Z","dependency_job_id":null,"html_url":"https://github.com/lemoncmd/vcc","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/lemoncmd%2Fvcc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemoncmd%2Fvcc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemoncmd%2Fvcc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemoncmd%2Fvcc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lemoncmd","download_url":"https://codeload.github.com/lemoncmd/vcc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225247860,"owners_count":17444128,"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":[],"created_at":"2024-08-04T01:00:46.400Z","updated_at":"2026-01-17T21:18:22.606Z","avatar_url":"https://github.com/lemoncmd.png","language":"V","readme":"# VCC - The C Compiler in V\n\nThis is a toy C compiler written in V.  \nThis compiler is based on [chibicc](https://github.com/rui314/chibicc) by Rui Ueyama.  \nThis is the first compiler I have made.\n\nThe main object of this compiler is to compile The V Programming Language and compile itself by produced V binary.\n\nDocument by Rui Ueyama(Japanese): https://sigbus.info/compilerbook  \nMy blog(Japanese): https://blog.anzu.tech/post/vcc\n\n## Usage\nPlease make sure that the V compiler is installed on your terminal.  \nThe V Programming Language: https://vlang.io\n\nTo build VCC, run the following command\n```sh\nv -o vcc ./src\n```\nor just type\n```sh\nmake\n```\n\nTo compile C source code,\n```sh\n./vcc foobar.c \u003e foobar.s\ngcc -o foobar foobar.s\n```\n\n## Key Features of VCC\n- All the operators in C are implemented\n- `extern` and global variables/prototype declaration supported\n- You can declare variables in `for` statements! Yay!\n- Structs and Unions are supported\n\n## and WIPs, you know\n- Preprocessor\n- Initialization\n- Float\n- Enum\n- Compound literal, it's well used in V\n\n## Reference\nSpecial thanks to [Rui Ueyama](https://twitter.com/rui314)\n","funding_links":[],"categories":["Applications"],"sub_categories":["Interpreters/Compilers"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flemoncmd%2Fvcc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flemoncmd%2Fvcc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flemoncmd%2Fvcc/lists"}