Rust-GCC / Rust-GCC/gccrs

GCC Abstractions

Open
#412 5 comments 0 reactions 1 assignee View on GitHub

@dafaust is already working on this.

Since Nov 15, 2021.

community GCC plan
Dominant language
C++
Stars
2.9k
Forks
230
Avg merge
19h 55m
Merged PRs (30d)
67

Description

The front-end was bootstrapped from GCCGO which abstracts GCC via backend.c. This really helped bootstrap the front-end but we may find maintaining the levels of abstraction to become very difficult over time. The goal for the project should really be to compile Rust for GCC first.

Personally I quite like many of the functions this abstraction has provided.

As a way to get a middle ground here what if we were to get rid of the abstract classes wrapping up gcc tree into Bexpression, Bstmt, etc, so that they simply return tree.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.