.DWG file formatAn attempt to specify the DWG (R12) file format using the BFF grammar forbinary files.AcknowledgementsI would like to thank Reini Urban for hiscontributions.Definition of the elementary elementstypedef word word := byte : b1, byte : b2 return (word)f | (word)s 8).typedef longword longp := byte : b1, byte : b2, byte : b3, byte : b4 return (longword)b1 | (longword)b2 8) | (longword)b