{"id":13599904,"url":"https://github.com/maekawatoshiki/rucc","last_synced_at":"2025-09-08T12:32:08.691Z","repository":{"id":90341526,"uuid":"88031346","full_name":"maekawatoshiki/rucc","owner":"maekawatoshiki","description":"rucc is a tiny toy C compiler in Rust.","archived":false,"fork":false,"pushed_at":"2023-09-18T15:17:58.000Z","size":452,"stargazers_count":182,"open_issues_count":0,"forks_count":16,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-12-27T02:09:54.975Z","etag":null,"topics":["c","compiler","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"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/maekawatoshiki.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}},"created_at":"2017-04-12T08:59:33.000Z","updated_at":"2024-11-22T17:38:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"4834775c-33a6-4ceb-9336-e5188fc95791","html_url":"https://github.com/maekawatoshiki/rucc","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/maekawatoshiki%2Frucc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maekawatoshiki%2Frucc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maekawatoshiki%2Frucc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maekawatoshiki%2Frucc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maekawatoshiki","download_url":"https://codeload.github.com/maekawatoshiki/rucc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232308556,"owners_count":18503119,"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":["c","compiler","rust"],"created_at":"2024-08-01T17:01:16.979Z","updated_at":"2025-01-03T08:12:26.171Z","avatar_url":"https://github.com/maekawatoshiki.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# RUCC\n\n\n[![](https://circleci.com/gh/maekawatoshiki/rucc/tree/master.svg?style=shield\u0026circle-token=12276a02aa21f18324f9be74cbb922227b7c8551)](https://circleci.com/gh/maekawatoshiki/rucc)\n[![codecov](https://codecov.io/gh/maekawatoshiki/rucc/branch/master/graph/badge.svg)](https://codecov.io/gh/maekawatoshiki/rucc)\n[![](http://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)\n\nrucc is a small toy C compiler implemented in Rust. \n\n# REQUIREMENTS\n\n- latest Rust (recommend [rustup](https://www.rustup.rs/))\n- LLVM 10.0\n```sh\n# ubuntu, or debian...\n$ apt-get install llvm-10 llvm-10-dev\n```\n\n# RUN\n\nFirst, do test\n\n```sh\n$ cargo test\n```\n\nAfter the test exits successfully, you can try rucc easily with ``./rucc.sh``!\n\n```sh\n$ # slow (use binary created by `cargo build`)\n$ ./rucc.sh [filename (*.c)]\n\n$ # fast (use binary created by `cargo build --release`)\n$ ./rucc.sh [filename (*.c)] --release\n```\n\n# FORK AND PULL REQUEST LIFECYCLE\n\n1. fork https://github.com/maekawatoshiki/rucc repository\n2. clone your repository on local pc\n\n    ```sh\n    $ git clone git@github.com:youraccount/rucc.git\n    $ cd rucc\n    ```\n\n3. add maekawatoshiki upstream repository \u0026 fetch \u0026 confirm\n\n    ```sh\n    $ git remote add upstream git@github.com:maekawatoshiki/rucc.git\n    $ git fetch upstream\n    $ git branch -a\n\n    * master\n    remotes/origin/HEAD -\u003e origin/master\n    remotes/origin/master\n    remotes/upstream/master\n    ```\n\n4. fetch \u0026 marge upstream\n\n    ```sh\n    $ git fetch upstream\n    $ git merge upstream/master\n    ```\n\n5. pullrequest on GitHub\n\n# REFERENCES\n\nI'm using [8cc](https://github.com/rui314/8cc) as reference.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaekawatoshiki%2Frucc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaekawatoshiki%2Frucc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaekawatoshiki%2Frucc/lists"}