Cycles Material Definition Document

I was wondering if there is a document describing the cycles material definition in ASCII format ?

The ideal situation would be an ASCII document representing a library of materials, with perhaps a header,
a footer and any number of material definition records in between. That scenario would serve well in architectural visualization where libraries of similar but different materials (i.e a large number of wooden floors) are often used to investigate alternative formal solutions.

So is there ?