Parse a list of items out of a string
[a] delimList( Parser<a> parser, var ParseState st, Parser<any> delim, Int n=0 )
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)
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.
Kaya standard library by Edwin Brady, Chris Morris and others ([email protected]). For further information see http://kayalang.org/
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.
Parse.list (3kaya)
Parse.list1 (3kaya)