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=_994D363F-2021-4446-86DA-A95C6FD8F0F0"; 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: <20160103173859.ce123a8957899e5c3e496d9b@gmail.com> Date: Sun, 3 Jan 2016 12:25:20 -0700 Message-Id: <770A8E7B-085A-4B35-825A-12B90D446E3A@noqsi.com> 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> <20160103173859.ce123a8957899e5c3e! 496d9b AT 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 Precedence: bulk --Apple-Mail=_994D363F-2021-4446-86DA-A95C6FD8F0F0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On Jan 3, 2016, at 9:38 AM, Nicklas Karlsson = (nicklas DOT karlsson17 AT gmail DOT com) [via geda-user AT delorie DOT com] = wrote: >> As I've mentioned previously I'm talking pcb, which is a more painful >> format to parse (such that so far as I'm aware the parser in pcb is = the >> only one). Personally I find formats like this: >>=20 >> device=3DRESISTOR >> T 44400 49300 5 10 1 1 90 0 1 >>=20 >> substantially less readable than ones with field names, but they are = indeed >> easy to parse. The pcb format is quite a bit more elaborate and the >> savings from not rolling your own parser are more significant. >=20 > Yes this is simple to parse, use little file space but do not have = field name. To use little file space and be simple to parse is actually = two good properties of a file format. >=20 > Lack of field names may be worked around by having a list of field = names in the beginning. Except that we haven=92t changed the format in 12 years. Any changes we = might want may be handled with attributes. So, the list of field names = is constant and may be defined in a separate file for full backward = compatibility. > If this list of field names is sorted according to how often they are = used and each row only have to list used values it would probably be a = file format with rather good properties. >=20 > To enumerate the field names at the beginning of the file may also be = a solution. Or maybe to use representation of data structures from a = programming language. >=20 >=20 >=20 > Nicklas Karlsson >=20 John Doty Noqsi Aerospace, Ltd. http://www.noqsi.com/ jpd AT noqsi DOT com --Apple-Mail=_994D363F-2021-4446-86DA-A95C6FD8F0F0 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 iQIcBAEBCgAGBQJWiXWhAAoJEF1Aj/0UKykRRcIP/2yRJuVl0B4PI4Ti9nDNuAje Hk5tpous3JZXHjgWY7eusLZceUn6FpGgbbmCsTJTyK6QTmnLKu5lg+0N4veVving 936B3646lwSHCCLzVN9XqyUB4fZEotcogJgCcBxwzwyXv6ydLPf3JCTUg2CZWXRV zopOr9q/o/b7YcVG2ttlnKvvseKy/6Kh3Yr1WVHSEkH7Dx/DfDW+mRQxBvnVgOwd q+WvYP0C+c8u5XNpisSaOLPECAYocpRcnP9FgmxbGs1ymnAS8/wqHMkaGLZiU6L9 QKvv1/te/AdnG9UFo64OpfCCCQotPX3veU4oSE/tLwSi0k1A94TDi6+9PpMy9mmB WMzIpRbFEn6SjVipRxH6T0h53URQlOjKhXMr8BEOvBRL+/NurysyqcEjT9olB0jg Y+MpKjVzIVbk5HDlgvHKlF/XE6xbJel7ObHjMFfUZ3WO4E4IH8N23K6YroJiTcJx gIb98IUhOQ+om0dZoajIf6EjPsdiTKfEJd2mxzzSvzTad0DMfwnUdLvZoHyWiBkr TK9xyjICIBMnSZ2PzSOCvHSoT6kwVB3JeXdAW3NIvn5YzBmb2thMKOWdF6mWJDCP emSRosiyI8MDHPHSYkKcyYCvtKtkCqgFhxwOFF9azNRKRVPictgHW8u9uQ+so+4r lyTcaUHXsrIT9ig+1g22 =WVMa -----END PGP SIGNATURE----- --Apple-Mail=_994D363F-2021-4446-86DA-A95C6FD8F0F0--