Skip to main content
Tide home page
Search...
⌘K
GitHub
Search...
Navigation
Language tour
Expressions
Guides
Reference
GitHub
Getting started
Tide
Quickstart
Development
Tutorial
Values and types
let bindings and scope
Expressions, operators, and precedence
Control flow
Collections and ranges
Relations (semantics you can rely on)
Philosophy
Philosophy
Why relations?
Language tour
Overview
Comments
Queries & output
Relations
Expressions
Collections
Comprehensions
Cool examples
Language tour
Expressions
Copy page
Copy page
Tide supports common expression forms:
arithmetic:
+ - * / %
comparisons:
== != < <= > >=
boolean operators (as implemented)
conditionals:
if <cond> then <a> else <b>
Example:
Copy
query if 5 > 3 then "yes" else "no"
Note: Tide is alpha; the exact precedence/associativity rules are documented in the
Grammar
.
Relations
Collections
⌘I