Is there a place where compiler design is documented?

Is there any one place where the design of the rust compiler is documented? Specifically its strategy for gathering and reporting errors.

I am actively working on a prototype of bringing more helpful errors to the Java language and I'm reaching the limit of understanding I can get to by unguided reverse engineering.

You might be interested in https://rustc-dev-guide.rust-lang.org/

2 Likes

Shape of errors to come | Rust Blog is the introduction blog post of the current error format. It is inspired by elm: news/compiler-errors-for-humans

2 Likes

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.