The control flow one milestone is filling in the gaps in basic rust compilation such as impl blocks, method resolution, block expressions and loops. When the PR for block expressions was merged regressions in implicit returns were found via manual testing. The automated test suite failed to pick this up due to a bug in […]
This month completes the Core Data Structures milestone this provides the base of the compiler pipeline moving forward on time with the target date. An application to https://nlnet.nl/assure/ has been for submitted for a PhD student to create a general Rust language testing framework to automate the compilation of test cases on any Rust compiler. […]
The completed activities here are the final building blocks to complete the remaining tasks for the first planned milestone. In order to support the size type rules on ArrayIndexExpressions and allow for code such as: The LiteralExpression of ‘1’ resolves to an IntegralInferenceVariable which when unified as part of the HM algorithm resolves to a […]
Status Reporting for November 23rd 2020 to Jan 4 2021
Recently I reached out to the lovely people over on https://zulip.com/ about creating a channel for GCC Rust and they said yes! This channel is designed for those wishing to discuss the compiler in more detail and ask questions in an informal way. Please feel free to join: https://gcc-rust.zulipchat.com/.
As of today there is only one outstanding ticket for us to reach the goal of basic compilation of rust. The compiler currently the following building blocks in place: Lexer Parser Static Analysis Pass structure Abstracted GCC backend to GIMPLE reused from GCCGO which will need amendments over time The first milestone is compile primitives: […]
I’ve been a fan of Rust as a modern system level programming language since around 2014. C/C++ is ubiquitous in this arena for good reason but are fairly old comparatively to the landscape now. You may or may not be aware I started a GCC front-end for Rust back in 2014/2015, I was able to […]