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 Content-Type: multipart/signed; boundary="Apple-Mail=_31C37633-BEE3-43AF-8ED3-8F3BA1617B53"; protocol="application/pgp-signature"; micalg=pgp-sha512 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 In-Reply-To: Date: Fri, 25 Dec 2015 14:13:19 -0700 Message-Id: References: <1512221837 DOT AA25291 AT ivan DOT Harhan DOT ORG> <20151222232230 DOT 12633 DOT qmail AT stuge DOT se> <0F6F1D0F-4F07-48EA-90FE-836EAD4E2354 AT noqsi DOT com> <0FCF3774-F93C-4BFF-BB61-636F75DCCACB AT noqsi 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 Precedence: bulk --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] wrote: >=20 >=20 > On Thu, Dec 24, 2015 at 1:39 PM, John Doty 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] 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
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:



On Thu, Dec 24, 2015 at 1:39 PM, John Doty <jpd AT noqsi DOT com> wrote:

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:

Agreed.  I like = YAML for this reason.  You get a parser in every language for free, = without any other library material = required.
AWK? sed? grep? cut? = sort?

Why = not?  Unless a newline in your regex really frightens you that = much...
 
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.

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.


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.


Britton


John Doty              Noqsi = Aerospace, Ltd.

http://www.noqsi.com/

jpd AT noqsi DOT com



= --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--