While I heartily believe that open source developer resources are much better invested in ISO STEP and other non-proprietary formats, it may be informative for some to hear that the Open Design Alliance has released a DWG specification:
http://www.opendesign.com/files/guestdownloads/ OpenDesign_Specification_for_.dwg_files.pdf
Cheers! Sean