semiList

fun <A : Any> semiList(parser: Parser<Char, A>): (ParserInput<Char>) -> ParserOutput<List<A>>

A parser that parses a list of expressions separated by semicolons.

Return

A parser that parses a semicolon-separated list of expressions.

Parameters

parser

The parser for the individual expressions.