dwgfileformat anattempttospecifythedwg(r12)fileformatusingthebffgrammarfor binaryfiles. acknowledgements iwouldliketothankreiniurbanforhis contributions. definitionoftheelementaryelements typedefwordword:= byte:b1,byte:b2 ret