Configuration file grammar

Hi,

Is there a formal grammar for the configuration file? Something like antlr grammar or anything else?