1 unstable release
Uses old Rust 2015
0.1.0 | May 14, 2016 |
---|
#970 in Programming languages
110KB
2.5K
SLoC
rgo
rgo
is a work-in-progress (i.e. unfinished) Go compiler, written
in Rust.
For now, this is 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 makes 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
will 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.
Dependencies
~5.5MB
~107K SLoC