dcbaker / meson-plus-plus

An experimental and incomplete implementation of Meson in C++, for solving Meson's bootstrapping issue.
Apache License 2.0
50 stars 7 forks source link

Convert all printing to some kind of message and print all at once #161

Open dcbaker opened 4 days ago

dcbaker commented 4 days ago

Rather than printing in the MIR lowering passes, emit some kind of message() object that all gets resolved at the end of the program. This may require allowing for a single instruction to be replaced with multiple instructions, a thing we don't currently handle.