• This repository has been archived on 07/May/2023
  • Stars
    star
    175
  • Rank 218,059 (Top 5 %)
  • Language
    Go
  • Created over 8 years ago
  • Updated about 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

[STALLED] A Go compiler, written in Rust.

rgo (stalled) Build Status

rgo was a work-in-progress Go compiler, written in Rust.

This was primarily a fun learning project.

I chose Go as the source language because C compilers have been written over and over, and I wanted to do something new. Go's spec is pretty simple, so it seemed like a good choice. The fact that is has a GC also made implementing a compiler for it more challenging and, therefore, more interesting.

Additionally, Go's reference implementation uses a custom backend for optimization and codegen, while rgo was to use LLVM for optimization and machine code generation.

License

Copyright (c) 2016 The rgo Project Developers.

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.