Ad

gofrontend: Go compiler frontend

Gofrontend compiles Go source code using GCC. It provides a foundation for integrating Go with the GNU Compiler Collection allowing compilation of Go programs.
Screenshot of golang/gofrontend homepage

Gofrontend is a compiler frontend for the Go programming language. It was initially developed for the GNU Compiler Collection (GCC) and enables compiling Go code using GCC. The frontend handles the initial stages of the compilation process, transforming Go source code into an intermediate representation suitable for further processing.

Gofrontend provides a standardized interface for compiling Go with GCC, facilitating integration within the GCC ecosystem. The project maintains a separation of concerns, allowing for potential support of other compilers if needed. Its design emphasizes compatibility with GCC's existing infrastructure.

  • GCC Integration: Enables compilation of Go code using the GCC compiler suite.
  • Source Code Mirror: Mirrors the Go frontend source code to the GCC repository.
  • Library Source: Includes a copy of the Go library with modifications for compiler use.

Gofrontend has a long history, with initial development starting in 2009 and ongoing maintenance. The project serves as a foundational component, providing a stable and reliable basis for compiling Go programs with GCC. Recent commits indicate continued, albeit infrequent, activity.

Gofrontend benefits developers who wish to use GCC to compile Go programs, or who need to integrate Go compilation into existing GCC-based build systems. It offers an alternative to the standard Go compiler, providing flexibility and compatibility with specific environments. This project enables cross-compilation and integration with tools reliant on GCC.

Summarize:
Share:
Stars
894
Forks
129
Issues
2
Created
11 years ago
Commit
4 months ago
License
BSD-3-CLAUSE
Archived
No
Updated 6 days ago

Similar Repositories