Antlr-based parsing (partial)