Config file syntax: is there a formal definition?

I like to see something like BNF
(Extended Backus–Naur form - Wikipedia)
describing
the configuration file language.

Anyone created such a list?
thanks
Noam

Posted at Nginx Forum: