(list-of) ( items separator repeat1? -- parser )


Vocabulary
peg.parsers

Inputs
itemsa sequence
separatora parser
repeat1?a boolean


Outputs
parsera parser


Word description
Returns a parser that returns a list of items separated by the separator parser. Does not hide the separators.

See also
list-of, list-of-many

Definition