glc - A Go to Crystal compiler
glc is a compiler for a subset of the Go programming language. It is written in Rust, targets Crystal and won the 2019 GoLite competition at McGill University. For this project, we leveraged the Rust programming language’s type-safety to create a reliable, resilient and fast compiler.
glc is built with the Logos lexer and lalrpop, an LR(1) parser generator. It provides detailed error messages in a style similar to that of the Rust compiler.