add ast tree. add exception.modify cmake to support antlr.