SYNOPSIS

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

ARGUMENTS

parser The parser to use for items

st The current parsing state

delim The parser to use for delimiters

n The minimum number of items (default 0)

DESCRIPTION

Parse a string into a list of n or more items. Items are separated by a string defined by the delim parser 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.list (3kaya)

Parse.list1 (3kaya)