Explore >> Select a destination


You are here

blog.sylver.dev
| | thume.ca
3.8 parsecs away

Travel
| | [AI summary] This blog post by Tristan Hume details his experience writing a compiler for a course project using Rust. He discusses various aspects of the project including the use of Rust's powerful enums and pattern matching, handling variable and type resolution, reference counting with Rc, code generation for x86 assembly, and the use of usercorn to run Linux binaries on macOS. The post also reflects on the challenges and benefits of using Rust for such a project, comparing it with other languages and design decisions.
| | iter.ca
1.9 parsecs away

Travel
| | Let's write some Rust to parse and evaluate Boolean expressions.
| | dusty.phillips.codes
3.6 parsecs away

Travel
| | In part 1 and part 2 of this series, I introduced the project and we wrote some Roc code to load an input file and save the compiled result to a different file. Note: Other articles in this series are collected here. However, we are a long ways from actually having that compiled result available! This article introduces the phases involved in writing a compiler and focus on implementing the first phase, known as lexical analysis or tokenizing.
| | blog.lohr.dev
21.1 parsecs away

Travel
| A review by a Rust enthusiast