10 lines
358 B
Plaintext
10 lines
358 B
Plaintext
config := [version] {assignment}
|
|
|
|
version := "version" "(" INTEGER ")" ";"
|
|
assignment := lvalue "=" rvalue ";"
|
|
lvalue := IDENTIFIER [ "[" INTEGER "]" ]
|
|
rvalue := lvalue | BOOLEAN | INTEGER | STRING | CHARACTER | "{" compound_body
|
|
compound_body := compound_element {"," compound_element} [","] "}"
|
|
compound_element := ["." (IDENTIFIER | INTEGER) "="] rvalue
|
|
|