Try to build syntax tree,but I find it is so diffcult and not such beautiful.