add xdump
apply xdump and use linesep in myparser.py
add c++ dump template