4coder/4coder_config_grammar.txt

10 lines
354 B
Plaintext
Raw Normal View History

2018-05-12 00:53:02 +00:00
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