Skip to content

Commit 181a438

Browse files
committed
Add missing operators in readme
Closes #20
1 parent 2aeab3b commit 181a438

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -413,13 +413,13 @@ the compiled expression returned by `te_compile()` would become:
413413
*TinyExpr++* parses the following grammar (from lowest-to-highest operator precedence):
414414

415415
<list> = <expr> {(",", ";" [dependent on locale]) <expr>}
416-
<expr> = <term> {("&" | "|") <term>}
416+
<expr> = <term> {("&" | "|" | "&&" | "||") <term>}
417417
<expr> = <term> {("<>" | "!=" | "=" | "<") | "<=") | ">" | ">=") <term>}
418-
<expr> = <term> {("<<" | ">>") <term>}
418+
<expr> = <term> {("<<" | ">>" | "<<<" | ">>>") <term>}
419419
<expr> = <term> {("+" | "-") <term>}
420420
<term> = <factor> {("*" | "/" | "%") <factor>}
421421
<factor> = <power> {("^" | "**") <power>}
422-
<power> = {("-" | "+")} <base>
422+
<power> = {("-" | "+" | "~")} <base>
423423
<base> = <constant>
424424
| <variable>
425425
| <function-0> {"(" ")"}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy