This page is part of a static HTML representation of the TiddlyWiki at http://tiddlywiki.com/

Filter Syntax

24th January 2015 at 6:42pm
Filters
Filters follow a grammar that is presented here, using railroad diagrams, for those who find formal syntax descriptions helpful. However, you can learn to write filters without needing to understand this group of tiddlers.

A filter is a pipeline for transforming an input into an output. Both the input and the output are ordered sets of titles of things like tiddlers and fields.

Filters are expressions constructed from smaller building blocks, called runs and steps, each of which also transforms an input to an output.

A filter starts with an empty output. Its runs are processed from left to right, progressively modifying the output.

Here are details of the various building blocks involved: