/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

austinhenley.com
| | thume.ca
2.4 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.
| | patshaughnessy.net
2.1 parsecs away

Travel
| | [AI summary] The article explains how the Crystal compiler parses code by breaking it down into tokens and constructing an abstract syntax tree (AST), highlighting the recursive process and the challenges of reading code one token at a time.
| | mathspp.com
2.4 parsecs away

Travel
| | In the 4th part of building a Python compiler and interpreter we will add support for more arithmetic operations and parenthesised expressions.
| | craftinginterpreters.com
18.2 parsecs away

Travel
| [AI summary] The text discusses the implementation of a compiler for a simple programming language, focusing on parsing and bytecode generation. It covers topics such as recursive descent parsing, Pratt parsing, and the use of a parser table to handle operator precedence. The text also includes code snippets for the parser and compiler functions, as well as instructions for debugging and testing the compiler. The author emphasizes the importance of error handling and the use of a debug flag to enable the printing of generated bytecode.