Tweak print_ast so it builds again

It is out of date and missing several cases (at least handle and
strings), and should get fixed up at some point