X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Date: Sun, 5 Mar 2017 14:18:35 -0500 From: al davis To: geda-user AT delorie DOT com Subject: Re: [geda-user] [dev][pcb] tEDAx - footprint format spec Message-ID: <20170305141835.0a742dd8@floyd.freeelectron.net> In-Reply-To: <20170305173428.1355A81075DD@turkos.aspodata.se> References: <20170305173428 DOT 1355A81075DD AT turkos DOT aspodata DOT se> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sun, 5 Mar 2017 18:34:28 +0100 (CET) karl AT aspodata DOT se wrote: > A first thing to do would be to make other parties agree on the first > line of the file, so programs have a chance to cheeply identify file > format and switch in another parser on the fly. > > A few first lines: > gschem: v 20111231 2 > pcb: anything > verilog-AMS: anything > tEDAx: tEDAx v1 > kicad, > wings: #!WINGS-1.0 > wrl: #VRML V2.0 utf8 > kicad_mod: (module CAP_RAD_5MM (layer F.Cu) > kicad_pcb: (kicad_pcb (version 4) (host pcbnew "(2015-05-18 BZR 5668)-product") On the surface, that seems like a good idea, but I/you/we don't have control of the various formats, so it might be difficult to convince a committee of something like that. Really, what's needed is for any reader to exit quickly and gracefully if it isn't a match, so the caller can move on to something else.