Mail Archives: geda-user/2020/12/09/02:57:14

X-Authentication-Warning: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.7+dev
X-Exmh-Isig-CompType: repl
X-Exmh-Isig-Folder: inbox
From: "karl AT aspodata DOT se [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] automatically create a .sch file containing a single component?
In-reply-to: <alpine.DEB.2.21.2012071323330.3438@nimbus>
References: <CAC4O8c_Gssuua3aHJSEMTW_Sw5W9rvtwrys1e=BP=CvHmEifJA AT mail DOT gmail DOT com> <alpine DOT DEB DOT 2 DOT 21 DOT 2012071323330 DOT 3438 AT nimbus>
Comments: In-reply-to Roland Lutz <rlutz AT hedmen DOT org>
message dated "Mon, 07 Dec 2020 13:27:09 +0100."
Mime-Version: 1.0
Message-Id: <>
Date: Wed, 9 Dec 2020 08:37:34 +0100 (CET)
X-Virus-Scanned: ClamAV using ClamSMTP
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

Roland Lutz:
> You may also want to have a look at the gEDA XML file format:

I do dislike thoose chatty formats but I can't say that
 B 0 0 17000 11000 15 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
is much better...
(except that it is very simple to write programs for it)

 <box x="0" y="0" width="170" height="110" color="lock" width="0"/>

why not <box pos="0,0" size="170,110" ...>, since x and y is the same
thing, just viewed from an different angle (same with witdh and heigth)
(and why do you have two "witdh"s in the example ?).

Or why not
 B 0,0 17000,11000 15 0 0  0,-1,-1,0  -1,-1,-1,-1,-1
which would keep related things together and be visually easier to read.
Or have named arguments for the lesser used args., like
 B 0,0 17000,11000 15 0 0  dash=0,-1,-1,0  fill=-1,-1,-1,-1,-1
which could then be simplified to
 B 0,0 17000,11000 15 0 0
which is a more reasonable size for an argument list.

And please choose a format that doesn't need all thoose citations marks
and syntactic sugar, which is fine for a parser program but not nice on
the fingers.

/Karl Hammar

- Raw text -

  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019