Andrew·Mar 31, 2025Rust TDD implementing a simple language (2)In the last post we implemented a simple RPN based language that allowed us to push integers and strings onto a stack, perform simple…
Andrew·Mar 30, 2025Rust TDD implementing a simple language (1)I want to develop a simple RPN language that will evaluate statements like “1 2 +” and ultimately include functional definitions. But for…
Andrew·Apr 19, 2024Simple Alcoholic MotionIf the only force acting on a body is directly proportional to the distance from a bar or public house, then that body is said to exhibit…
Andrew·Apr 18, 2024Rusty Garbage ! My HashMap is non-deterministicIt’s a reasonable expectation that if we repeatedly run the same program on the same inputs, we always get the same output. Of course we…
Andrew·Apr 16, 2024Bootstrapping Mathematics : Programs Are Proofs(3)In the last post we introduced the LABEL language, as a language for doing formal work in mathematics. By the end, we were able to provide…
Andrew·Apr 16, 2024Bootstrapping Mathematics : Programs Are Proofs(4)In the last post we extended the bootstrap of LABEL within itself to allow the use of pairs and lists. This was done in response to the…
Andrew·Apr 16, 2024Bootstrapping Mathematics : Programs Are Proofs(2)In the last post we saw how mathematics can be described as a “logical sequence of strings”. We used the Rust language to formalise this…
Andrew·Apr 15, 2024Bootstrapping Mathematics : Programs Are Proofs.As an “improper” mathematician I’ve always been interested in what maths actually is. I use “improper” as I don’t officially have a degree…
Andrew·Apr 14, 2024Rust : Are my HashMaps Equal?Comparing HashMaps can be confusing ! Consider the following :
Andrew·Apr 11, 2024Rust: What is my working directory?Rust and Cargo : What is my working directory ?