Update diceparser.cpp

clean up the parser to separate parsing, running and display