www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/12/25/16:13:40

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-TCPREMOTEIP: 207.224.51.38
X-Authenticated-UID: jpd AT noqsi DOT com
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
Subject: Re: [geda-user] A fileformat library
X-Pgp-Agent: GPGMail 2.5.2
From: John Doty <jpd AT noqsi DOT com>
In-Reply-To: <CAC4O8c980g1gj15=5njstC_BT-WYDgKQx9BRycdFKA8OvgtiOg@mail.gmail.com>
Date: Fri, 25 Dec 2015 14:13:19 -0700
Message-Id: <B54C0E1F-1986-4C79-9F70-7F1919B8B26D@noqsi.com>
References: <1512221837 DOT AA25291 AT ivan DOT Harhan DOT ORG> <CAJXU7q_mXmipJ1fLvLpuLvnYjktV2SHoA+bG=L5+E-EfdygeOA AT mail DOT gmail DOT com> <s6n37uumanm DOT fsf AT blaulicht DOT dmz DOT brux> <CAJXU7q_qxdvJaejF-VcY=u7VHZ-zrfrc+Z7-qSwfFyPdy-umxw AT mail DOT gmail DOT com> <B02363CD-469D-493A-AC15-1D5DC7836982 AT noqsi DOT com> <20151222232230 DOT 12633 DOT qmail AT stuge DOT se> <0F6F1D0F-4F07-48EA-90FE-836EAD4E2354 AT noqsi DOT com> <CAM2RGhTficnys3a4xs=UBFvk8aPwpzYWUADFLP_pUQ+R1iKs0g AT mail DOT gmail DOT com> <0FCF3774-F93C-4BFF-BB61-636F75DCCACB AT noqsi DOT com> <CAC4O8c_UAiFE-vGfoE2tXppHLhaa0dSYz9o_rkdCBo7_SRRtxw AT mail DOT gmail DOT com> <FFBE7623-E240-4798-96B0-2BECF56C8E29 AT noqsi DOT com> <CAC4O8c980g1gj15=5njstC_BT-WYDgKQx9BRycdFKA8OvgtiOg AT mail DOT gmail DOT com>
To: geda-user AT delorie DOT com
X-Mailer: Apple Mail (2.1878.6)
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

--Apple-Mail=_31C37633-BEE3-43AF-8ED3-8F3BA1617B53
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_2145E7C9-EABE-4B11-A95E-AF5B84CEECEF"


--Apple-Mail=_2145E7C9-EABE-4B11-A95E-AF5B84CEECEF
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252


On Dec 25, 2015, at 1:38 PM, Britton Kerin (britton DOT kerin AT gmail DOT com) =
[via geda-user AT delorie DOT com] <geda-user AT delorie DOT com> wrote:

>=20
>=20
> On Thu, Dec 24, 2015 at 1:39 PM, John Doty <jpd AT noqsi DOT com> wrote:
>=20
> On Dec 24, 2015, at 12:53 PM, Britton Kerin (britton DOT kerin AT gmail DOT com) =
[via geda-user AT delorie DOT com] <geda-user AT delorie DOT com> wrote:
>=20
>> Agreed.  I like YAML for this reason.  You get a parser in every =
language for free, without any other library material required.
>=20
> AWK? sed? grep? cut? sort?
>=20
> Why not?  Unless a newline in your regex really frightens you that =
much...
>=20
> Records separated by newline with fields separated by whitespace is =
*better* supported than YAML or any of the other candidates mentioned. =
The only things it lacks for our purposes is a spiffy name and the need =
for extra layers of lasagna code.
>=20
> Fine.  Put your money where your mouth is.  Send me a full parser for =
pcb files with binding for perl, python, ruby, C, and virtually every =
other extant language.

I=92m not talking about pcb. I=92m talking about geda-gaf. Geda-gaf is a =
much cleaner design. The pcb format doesn=92t even represent a proper =
model of what a printed circuit board is.

Writing a parser for geda-gaf files is simpler than penetrating an API =
wrapping such a parser. That doesn=92t mean you can do either in an =
instant.

>=20
> It's easy so you should be able to get it to me BEFORE your next bs =
email.

If having common parser makes things so easy, you should be able to =
document API=92s for all of the above languages as well as all of the =
textutils before your next email.

>=20
> Britton
>=20

John Doty              Noqsi Aerospace, Ltd.
http://www.noqsi.com/
jpd AT noqsi DOT com



--Apple-Mail=_2145E7C9-EABE-4B11-A95E-AF5B84CEECEF
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=windows-1252

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dwindows-1252"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space;"><br><div><div>On Dec 25, 2015, at 1:38 PM, Britton =
Kerin (<a =
href=3D"mailto:britton DOT kerin AT gmail DOT com">britton DOT kerin AT gmail DOT com</a>) =
[via <a href=3D"mailto:geda-user AT delorie DOT com">geda-user AT delorie DOT com</a>] =
&lt;<a href=3D"mailto:geda-user AT delorie DOT com">geda-user AT delorie DOT com</a>&gt;=
 wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div =
class=3D"gmail_quote">On Thu, Dec 24, 2015 at 1:39 PM, John Doty <span =
dir=3D"ltr">&lt;<a href=3D"mailto:jpd AT noqsi DOT com" =
target=3D"_blank">jpd AT noqsi DOT 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 style=3D"word-wrap:break-word"><span =
class=3D""><br><div><div>On Dec 24, 2015, at 12:53 PM, Britton Kerin (<a =
href=3D"mailto:britton DOT kerin AT gmail DOT com" =
target=3D"_blank">britton DOT kerin AT gmail DOT com</a>) [via <a =
href=3D"mailto:geda-user AT delorie DOT com" =
target=3D"_blank">geda-user AT delorie DOT com</a>] &lt;<a =
href=3D"mailto:geda-user AT delorie DOT com" =
target=3D"_blank">geda-user AT delorie DOT com</a>&gt; =
wrote:</div><br><blockquote type=3D"cite"><span =
style=3D"font-family:Helvetica;font-size:12px;font-style:normal;font-varia=
nt:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text=
-align:start;text-indent:0px;text-transform:none;white-space:normal;word-s=
pacing:0px;float:none;display:inline!important">Agreed.&nbsp; I like =
YAML for this reason.&nbsp; You get a parser in every language for free, =
without any other library material =
required.</span></blockquote></div></span><div>AWK? sed? grep? cut? =
sort?</div></div></blockquote><div><br></div><div style=3D"">Why =
not?&nbsp; Unless a newline in your regex really frightens you that =
much...</div><div>&nbsp;</div><blockquote class=3D"gmail_quote" =
style=3D"margin:0 0 0 .8ex;border-left:1px #ccc =
solid;padding-left:1ex"><div style=3D"word-wrap:break-word">Records =
separated by newline with fields separated by whitespace is *better* =
supported than YAML or any of the other candidates mentioned. The only =
things it lacks for our purposes is a spiffy name and the need for extra =
layers of lasagna code.</div></blockquote><div><br></div><div =
style=3D"">Fine.&nbsp; Put your money where your mouth is.&nbsp; Send me =
a full parser for pcb files with binding for perl, python, ruby, C, and =
virtually every other extant =
language.</div></div></div></div></blockquote><div><br></div>I=92m not =
talking about pcb. I=92m talking about geda-gaf. Geda-gaf is a much =
cleaner design. The pcb format doesn=92t even represent a proper model =
of what a printed circuit board is.</div><div><br></div><div>Writing a =
parser for geda-gaf files is simpler than penetrating an API wrapping =
such a parser. That doesn=92t mean you can do either in an =
instant.</div><div><br><blockquote type=3D"cite"><div dir=3D"ltr"><div =
class=3D"gmail_extra"><div class=3D"gmail_quote"><div =
style=3D""><br></div><div style=3D"">It's easy so you should be able to =
get it to me BEFORE your next bs =
email.</div></div></div></div></blockquote><div><br></div>If having =
common parser makes things so easy, you should be able to document API=92s=
 for all of the above languages as well as all of the textutils before =
your next email.</div><div><br><blockquote type=3D"cite"><div =
dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote"><div =
style=3D""><br></div><div style=3D"">Britton</div><div =
style=3D""><br></div></div></div></div>
</blockquote></div><br><div apple-content-edited=3D"true">
<span class=3D"Apple-style-span" style=3D"border-collapse: separate; =
border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; text-align: auto; =
-khtml-text-decorations-in-effect: none; text-indent: 0px; =
-apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; "><p style=3D"margin: =
0.0px 0.0px 0.0px 0.0px"><font face=3D"Helvetica" size=3D"3" =
style=3D"font: 12.0px Helvetica">John Doty<span =
class=3D"Apple-converted-space">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span =
class=3D"Apple-converted-space">&nbsp;</span><span =
class=3D"Apple-converted-tab">&nbsp; &nbsp;<span =
class=3D"Apple-converted-space">&nbsp;</span></span></span>Noqsi =
Aerospace, Ltd.</font></p><p style=3D"margin: 0.0px 0.0px 0.0px =
0.0px"><a href=3D"http://www.noqsi.com/">http://www.noqsi.com/</a></p><p =
style=3D"margin: 0.0px 0.0px 0.0px 0.0px"><font face=3D"Helvetica" =
size=3D"3" style=3D"font: 12.0px Helvetica"><a =
href=3D"mailto:jpd AT noqsi DOT com">jpd AT noqsi DOT com</a></font></p><br =
class=3D"Apple-interchange-newline"></span>
</div>
<br></body></html>=

--Apple-Mail=_2145E7C9-EABE-4B11-A95E-AF5B84CEECEF--

--Apple-Mail=_31C37633-BEE3-43AF-8ED3-8F3BA1617B53
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJWfbFwAAoJEF1Aj/0UKykRza0QAI9FyDZhzV3rWcTkWdMrCNLZ
Q+ob3TlJIQRfau4qUlu/OSHep/nEMlJlg/XOoasg4QShQ3AtUVx+u0u1MRtDjYxp
iIn7BWKVSGm187WmzmpsOvcxj30N4hQ9HYxdAkUODH6csnxKES3iIq32igUPYTKm
csc5khmJDU6pUzN1eu1yLN954YBMcV7VWD+A9BuUf8seTZdbXWxUSoVXCix4I3Sp
5rPiZYO9SABoEwbgGjBrASgkimzx3CZu+xDNAjDXP+WQ5q4CWY1a3ztdRpcgm/zZ
KPAyRYZC8zJ31M4nj4Y8tOGIjVvpRMUu1ZAMBbHbGULYLAvc3MhGzfczd0UXatCa
znO6ztdcpaWATw0t8yvyglSsw8za0GxTo7FpLeSCuTteBjqZM2JTitylPi6ftovl
FcwFKfDRiRapoXPwfDH6AtS1oyZF/SC4SB7VnitQiHHACUgJ0o7SaH4RBUcQ2Twy
y+NQ8nwccytewuyFLr0lBuwhl+l5igddMH8Y6RPmiqXmdIeZHLXdQEfxU2ZC5lfL
/456Jq32ZquQc4aJh0fC9kx5aXIWLl/Sx0BN6m8UOinNPNIoLhofbn7IhoKfy4LW
AI+fuyt/I0VlWqLzV0UkGRvrePkCzd/rhKW/FmkcikJtoC458aOdrT6zxdYEpON3
+Jzg9RAWpbmAY9GqQ7wN
=aUvC
-----END PGP SIGNATURE-----

--Apple-Mail=_31C37633-BEE3-43AF-8ED3-8F3BA1617B53--

- Raw text -


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