In this new series, I'd like to go over the process of writing a static analyser for PHP in the https://www.rust-lang.org/. We'll start by talking about what a static analyser is, the set of generic processes the program takes and how to actually write one in Rust. This post will cover the basics of static analysis and layout the plan for our own engine. Static analysis is the process of analysing source code by examining its structure and syntax, without executing the program.
The rest of this series will cover the various phases in writing a static analyser.