Dialekt Expression Parser

This page demonstrates how tag expressions are parsed to generate an abstract syntax tree (AST) and how the built-in evaluator applies to sets of tags. The AST can be traversed to produce the desired output, for example an SQL "WHERE" clause that finds entries with the matching tags.

In the Dialekt Expression field, enter a list of tags separated by spaces. Optionally use the AND, OR and NOT keywords to perform boolean operations. Expressions grouped in brackets are evaluated first.

By default, two adjacent tags are treated as an AND operation. This behavior can be changed by selecting the checkbox below.

You can optionally provide a space-separated list of tags to evaluate against the expression.