/explore
|
You are here |
adventures.michaelfbryan.com | ||
| | | | |
www.abubalay.com
[AI summary] The article explains the concepts of recursive descent and LR parsing while deriving practical parsing techniques like Pratt parsing from automaton theoretical foundations. |
|
| | | | | ||
| | | | |
matklad.github.io
In this tutorial, I will explain a particular approach to parsing, which gracefully handles syntax errors and is thus suitable for language servers, which, by their nature, have to handle incomplete and invalid code. Explaining the problem and the solution requires somewhat less than a trivial worked example, and I want to share a couple of tricks not directly related to resilience, so the tutorial builds a full, self-contained parser, instead of explaining abstractly just the resilience. |
|
| | | | | ||
| | | | |
thume.ca
[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. |
|
| | | | | ||
| | | | |
nabeelvalley.co.za
A short introduction to Parser Combinators |
|
| | | |||