For what it is worth, there is Muon, a third-party implementation of Meson written in C99 [1].
Haven't used it myself yet, though Muon has been in steady development over the last few years, and the developers claim that they implement the vast majority of the Meson core features.