Mail Archives: geda-user/2015/12/25/16:13:40
--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>] =
<<a href=3D"mailto:geda-user AT delorie DOT com">geda-user AT delorie DOT com</a>>=
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"><<a href=3D"mailto:jpd AT noqsi DOT com" =
target=3D"_blank">jpd AT noqsi DOT com</a>></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>] <<a =
href=3D"mailto:geda-user AT delorie DOT com" =
target=3D"_blank">geda-user AT delorie DOT com</a>> =
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. I like =
YAML for this reason. 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? Unless a newline in your regex really frightens you that =
much...</div><div> </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. 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.</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"> <span =
class=3D"Apple-converted-space"> </span><span =
class=3D"Apple-converted-tab"> <span =
class=3D"Apple-converted-space"> </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 -