mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-24 23:58:47 +00:00
Spec: fixed typo in Ostap/Nona
This commit is contained in:
parent
0c38e4b1df
commit
ee7caefb7a
2 changed files with 1 additions and 1 deletions
|
|
@ -496,7 +496,7 @@ parser which behaves exactly as "\lstinline|a|", but additionally applies "\lsti
|
|||
|
||||
\descr{\lstinline|fun expr (ops, opnd)|}{A super-combinator to generate infix expression parsers. The argument "\lstinline|opnd|" parses primary operand, "\lstinline|ops|" is
|
||||
a list of infix operator descriptors. Each element of the list describes one \emph{precedence level} with precedence increasing from head to tail. A descriptor on
|
||||
each level is a pair, where the first element describes the associativity at the given level ("\lstinline|Left|", "\lstinline|Right|" or "\lstinline|None|") and
|
||||
each level is a pair, where the first element describes the associativity at the given level ("\lstinline|Left|", "\lstinline|Right|" or "\lstinline|Nona|") and
|
||||
the second element is a list of pairs~--- a parser for an infix operator and the semantics action (a three-argument function accepting the left parser operand, that that
|
||||
infix operator parser returns, and the right operand). For example,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue