Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yberreby/rgo

[STALLED] A Go compiler, written in Rust.
https://github.com/yberreby/rgo

Last synced: about 1 month ago
JSON representation

[STALLED] A Go compiler, written in Rust.

Awesome Lists containing this project

README

        

# rgo (stalled) [![Build Status](https://travis-ci.org/yberreby/rgo.svg?branch=master)](https://travis-ci.org/yberreby/rgo)

`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

* [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)
* [MIT license](http://opensource.org/licenses/MIT)

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.