A markdown parser written in antlr4