
</p>
<h2>Captures
</h2>
<p>So far we have only been concerned with "does this text match this language?". This is useful, but
it is often more useful to extract data from text if it does match a peg. The <code class="mendoza-code">peg</code> module
uses that concept of a capture stack to extract data from text. As the PEG is trying to match
a piece of text, some forms may push Janet values onto the capture stack as a side effect. If the
text matches the main peg language, <code class="mendoza-code">(peg/ma