https://github.com/a1exxd0/acc
C89 compiler built in Rust.
https://github.com/a1exxd0/acc
c compiler llvm
Last synced: 11 months ago
JSON representation
C89 compiler built in Rust.
- Host: GitHub
- URL: https://github.com/a1exxd0/acc
- Owner: a1exxd0
- License: mit
- Created: 2024-12-17T00:07:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-06T17:10:47.000Z (about 1 year ago)
- Last Synced: 2025-03-30T14:02:51.149Z (12 months ago)
- Topics: c, compiler, llvm
- Language: Rust
- Homepage: https://a1exxd0.github.io/acc/
- Size: 158 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/a1exxd0/acc/actions/workflows/rust.yml)
[](https://github.com/a1exxd0/acc/actions/workflows/pages.yml)



`acc` is a C90 compiler built in Rust.
### Table of contents
- [Installation](#installation)
- [Usage](#usage)
- [Features](#features)
- [Testing](#testing)
- [Project goals](#project-goals)
## Installation
The project is very straightforward to build and as of right now requires no extra installs outside of the `rust` toolchain.
```rust
cargo build --release
cargo install --path .
```
## Usage
In an attempt to make this as easy to use as possible, the project will implement a small subset of the `gcc` API:
For example, a well-formed call would be:
```sh
acc main.c -o main -O3
```
## Features
## Testing
## Project goals