aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorChloe Kudryavtsev <toast@toast.cafe>2022-01-17 19:29:00 -0500
committerChloe Kudryavtsev <toast@toast.cafe>2022-01-17 19:29:00 -0500
commit226ddb38551079a325c2abe220106e65a635e4e4 (patch)
tree2153dc3c7422c6e4a7a43f825311f2d36d03fcc0 /README.md
parentadd eof, patch parse to work with it (diff)
add eof to README
Diffstat (limited to 'README.md')
-rw-r--r--README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.md b/README.md
index 04d4297..9a39a27 100644
--- a/README.md
+++ b/README.md
@@ -117,6 +117,7 @@ The end result is a parser that parses your entire document on demand.
Piecemeal provides the following built-in functions:
* lexeme: lexeme looks for a "type" of token produced by patok
* value: value looks for an exact match of a token's text
+* eof: only matches at the end of (lexed) input exactly once
* all: takes a list of parsers, producing a parser for all of them in a row
* alt: takes a list of parsers,
producing a parser that looks for any one of its inputs (in order)