Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/a1exxd0/acc
C90 compiler built in Rust.
https://github.com/a1exxd0/acc
c compiler llvm
Last synced: 16 days ago
JSON representation
C90 compiler built in Rust.
- Host: GitHub
- URL: https://github.com/a1exxd0/acc
- Owner: a1exxd0
- License: mit
- Created: 2024-12-17T00:07:42.000Z (26 days ago)
- Default Branch: main
- Last Pushed: 2024-12-24T18:16:18.000Z (18 days ago)
- Last Synced: 2024-12-24T19:23:09.925Z (18 days ago)
- Topics: c, compiler, llvm
- Language: Rust
- Homepage: https://a1exxd0.github.io/acc/
- Size: 85 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Test](https://github.com/a1exxd0/acc/actions/workflows/rust.yml/badge.svg)](https://github.com/a1exxd0/acc/actions/workflows/rust.yml)
[![Docs](https://github.com/a1exxd0/acc/actions/workflows/pages.yml/badge.svg)](https://github.com/a1exxd0/acc/actions/workflows/pages.yml)
![](https://img.shields.io/github/license/a1exxd0/acc)
![](https://img.shields.io/badge/made_for-UNIX-lightgrey)
![](https://img.shields.io/badge/Architecture-x86--64-blue)`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
- Not implementing trigraphs because it's outdated - pointless exercise## Testing
## Project goals