delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2014/04/19/12:19:50

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:in-reply-to:references:from:date:message-id:subject:to
:content-type;
bh=ugeq/+sIrs9AAek9LOwUQ8vsVABYdOplMggHndGCs/A=;
b=Ud7ceoIMwEva5liugaTpAj/5lYwWUrx5zulpRXaZ3x01VkQg7siJCcs77oGgyF8w4X
8QwSgRdi4seCXZWZPquKTbrJmJrWQmaSKb06KS4FTlpEd6Vo5pP8vTnQsJ5lBpAltQnY
oRzbRdu3AQ9veb084WWrroGdTyS+25EtenC0pyv1JUKEvwqbGFC8XhDjUvx4fdeXWk0q
7pEGqZS1sm9GeIQxKtRfJb8yAt85/tyReWXhM1/NjtolvgDCB/e2lVdX74Pbyrh9ZR0h
/+NToBjYBleQzq02bZXYJGfm21NAb+WNk4IIqLRgMaoZkyU8IbY4xbTDy7KUgl0w0wog
5RlQ==
X-Received: by 10.224.8.131 with SMTP id h3mr27066043qah.61.1397924357126;
Sat, 19 Apr 2014 09:19:17 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <201404180221.s3I2LOUB004683@envy.delorie.com>
References: <CAHBVutDDe4byff1H62pbpd-AVpPwbabAT7h9tWpqsFZu=_c70A AT mail DOT gmail DOT com>
<201404171458 DOT s3HEwG4r032541 AT envy DOT delorie DOT com> <CAC4O8c9YudRFRifhv0bdft2J_7jFVnLD2b1O=BQ8PgGaPJtw=g AT mail DOT gmail DOT com>
<201404171815 DOT s3HIFreo008095 AT envy DOT delorie DOT com> <lipc0k$6cv$1 AT ger DOT gmane DOT org>
<201404172021 DOT s3HKLTWI018066 AT envy DOT delorie DOT com> <CAC4O8c8P-DuatFV=je_54d6gT+gLHCECSSiUeR-aHOwHPxeNUQ AT mail DOT gmail DOT com>
<201404172108 DOT s3HL8q7I020414 AT envy DOT delorie DOT com> <alpine DOT DEB DOT 2 DOT 00 DOT 1404180415210 DOT 21174 AT igor2priv>
<201404180221 DOT s3I2LOUB004683 AT envy DOT delorie DOT com>
From: Filippo Micheletti <filippomicheletti AT gmail DOT com>
Date: Sat, 19 Apr 2014 18:18:37 +0200
Message-ID: <CAHBVutBkMSaEt+zqDPsOrFnO-CvTi6ev3JcEE8i_d-SHt4gwBw@mail.gmail.com>
Subject: Re: [geda-user] pcb graphical objects spec
To: MAILING LIST gEDA-user <geda-user AT delorie DOT com>
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

--001a11c2be64babe4504f767a02e
Content-Type: text/plain; charset=UTF-8

Thank you all for (the lot of) replies!
To manipulate a pcb file I build a little parser in Python which doesn't
recognize lines but patterns directly, in fact, being the file
text-oriented, one can use regular expressions or more generally character
recognition to get structures contained in the file (like elements, lines,
etc).
I need such parser to build a sort of project composer, I will publish it
when it will be finished and tested anyway!
Thank you again!


-Filippo-




On 18 April 2014 04:21, DJ Delorie <dj AT delorie DOT com> wrote:

>
> > I see a really simple solution here: currently PCB saves with predictable
> > newlines. There could be a command line switch or script option to
> enforce
> > it.
>
> It would have no effect since pcb already does that, and I doubt we'll
> ever change that for this file format, so the switch would never be
> needed.
>

--001a11c2be64babe4504f767a02e
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Thank you all for (the lot of) replies!<div>To manipulate =
a pcb file I build a little parser in Python which doesn&#39;t recognize li=
nes but patterns directly, in fact, being the file text-oriented, one can u=
se regular expressions or more generally character recognition to get struc=
tures contained in the file (like elements, lines, etc).</div>

<div>I need such parser to build a sort of project composer, I will publish=
 it when it will be finished and tested anyway!</div><div>Thank you again!<=
/div></div><div class=3D"gmail_extra"><br clear=3D"all"><div><br>-Filippo-<=
div>

<br></div><div><img src=3D"http://mitexeced.com/mit_lightbox/images/think_b=
efore_you_print.png"><br></div></div>
<br><br><div class=3D"gmail_quote">On 18 April 2014 04:21, DJ Delorie <span=
 dir=3D"ltr">&lt;<a href=3D"mailto:dj AT delorie DOT com" target=3D"_blank">dj AT del=
orie.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class=3D""><br>
&gt; I see a really simple solution here: currently PCB saves with predicta=
ble<br>
&gt; newlines. There could be a command line switch or script option to enf=
orce<br>
&gt; it.<br>
<br>
</div>It would have no effect since pcb already does that, and I doubt we&#=
39;ll<br>
ever change that for this file format, so the switch would never be<br>
needed.<br>
</blockquote></div><br></div>

--001a11c2be64babe4504f767a02e--

- Raw text -


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