Barrage script is used in MIOsoft's Barrage service, and is designed to make it possible to concisely define and detect complex patterns in streaming and sensor data.
Barrage script is based on the open-source Avail programming language. It was designed with the goal of allowing users to define complex patterns of data values using simple, human-readable expressions.
Patterns are constructed in Barrage script as a series of conditions, which produce boolean values. When pattern matching is performed on a series of data values, the pattern is considered to ‘match’ if every condition in the pattern returned true.
To support pattern creation, Barrage script can also be used to create other non-pattern elements such as constants, subpatterns, and maps.