/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

blog.ploeh.dk
| | www.baturin.org

[AI summary] This blog post tutorial explains advanced OCaml programming concepts including parametric polymorphism, higher-order functions like combinators and composition, and algebraic data types with pattern matching.
6.9 parsecs

Travel
| |
| | limited.systems

Although it might seem that a language like Haskell has a lot of different objects and constructs, they can all be reduced to functions.
6.7 parsecs

Travel
| |
| | dusty.phillips.codes

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.
6.5 parsecs

Travel
| |
| | 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.
22.4 parsecs

Travel
|