[dashrepl] Add a way to print out the parse tree

Signed-off-by: Ricky Elrod <ricky@elrod.me>