This shows you the differences between two versions of the page.
| snowberry:configuration_file_syntax [2009-08-13 15:15] – external edit 127.0.0.1 | snowberry:configuration_file_syntax [2017-03-19 19:48] (current) – skyjake | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Configuration file syntax ====== | ||
| + | |||
| + | This page presents the EBNF syntax definition of [[snowberry_configuration_file]]s. | ||
| + | |||
| + | config-file ::= { S element } S | ||
| + | |||
| + | element ::= list | block | ||
| + | |||
| + | key ::= value-key | ||
| + | |||
| + | row-key ::= identifier S ":" | ||
| + | |||
| + | row ::= { ascii-character } " | ||
| + | |||
| + | value-key ::= identifier S " | ||
| + | |||
| + | value ::= string | ||
| + | |||
| + | string ::= " | ||
| + | |||
| + | token ::= { ascii-character, | ||
| + | |||
| + | list ::= identifier S "<" | ||
| + | |||
| + | valuelist ::= value { S "," | ||
| + | |||
| + | block ::= blocktype S identifier S { identifier S value S } blockcontents | ||
| + | |||
| + | blocktype ::= token | ||
| + | |||
| + | blockcontents ::= " | ||
| + | |||
| + | identifier ::= token | ||
| + | |||
| + | S ::= " | ||
| + | |||
| + | E ::= " | ||
| + | |||
| + | |||
| + | |||