new parser factory allows combination with lexer automatically