We're going to need a Z3 parser it seems.
Use bc to bin-to-dec Z3's output.