Parse::list(3) Parse a list of items out of a String

SYNOPSIS

[a] list( Parser<a> parser, var ParseState st, Int n=0 )

ARGUMENTS

parser The parser to use

st The current parsing state

n The minimum number of items (default 0)

DESCRIPTION

Parse a string into a list of n or more items. Items are separated by Parse.whitespace(3kaya) and an Exception will be thrown if fewer than n are found.

AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others ([email protected]). For further information see http://kayalang.org/

LICENSE

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.

RELATED

Parse.delimList(3kaya)

Parse.list1(3kaya)