# + Parser -- repetition of a parser at least once

## Synopsis

• Operator: +
• Usage:
+p
• Inputs:
• p,
• Outputs:
• , a parser that will feed its tokens through p, and then when further tokens are not accepted, it will start over with a fresh copy of p. The value returned is the sequence of values returned by each instance of p.

## Description

 i1 : (+ constParser "abc" : charAnalyzer) "abcabcabc" o1 = (abc, abc, abc) o1 : Sequence

## Code

/usr/share/Macaulay2/Parsing.m2:144:14-144:32: --source code:
+Parser := p -> prepend % p @ *p