mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-05 22:38:44 +00:00
Cosmetics in stdlib/spec
This commit is contained in:
parent
50fc2e9f2a
commit
78305d22b3
6 changed files with 12 additions and 12 deletions
|
|
@ -333,7 +333,8 @@ The unit describes some primitive parsers and combinators which allow to constru
|
|||
|
||||
\descr{\lstinline|fun memo (f)|}{Takes a parser "\lstinline|a|" and returns its memoized version. Needed for some parsers (for expamle, left-recursive ones).}
|
||||
|
||||
\descr{\lstinline|fun token (x)|}{Takes a string and returns a parser which recognizes exactly this string.}
|
||||
\descr{\lstinline|fun token (x)|}{Takes a string or a representation of regular expression, returned by "\lstinline|createRegexp|" (see unit \texttt{Matcher}),
|
||||
and returns a parser which recognizes exactly this string/regular expression.}
|
||||
|
||||
\descr{\lstinline|fun eof (k)|}{A parser which recognizes the end of stream.}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue