parse

fun <S, R> parse(parser: Parser<S, R>, input: List<S>): List<R>

Parses the input using the given parser.

Return

A list of parsed results.

Parameters

parser

The parser to use.

input

The input to parse.