Scripting Syntax Elements

Spectre uses a modified Simplified Declarative Language (SDL). DI SDL is a text based configuration and scripting language designed to be flexible and easy to read.

  • DI SDL uses plain text for tags, one per line.
  • Tags indicate the type of block, which dictates which supporting elements can be included.
  • Tags and elements are organized into blocks of code using braces ({ }).
  • After a tag, quotation marks ( " ) are used for values, and backticks ( ` ) are used for expressions. An expression is a kind of value.
  • A value that has a name is referred to as an attribute and takes the form Name=Value.

The following snippets illustrate these syntax elements.

See also: