| www.delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mail set sender to geda-user-bounces using -f |
| X-Recipient: | geda-user AT delorie DOT com |
| X-Virus-Scanned: | Debian amavisd-new at papyrus.altaweb.hu |
| Date: | Sun, 13 Sep 2015 00:42:37 +0200 |
| From: | "Lev (leventelist AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> |
| To: | geda-user AT delorie DOT com |
| Subject: | Re: [geda-user] shortest way towards parsing .pcb files outside pcb |
| Message-ID: | <20150913004237.6f386c69@jive.levalinux.org> |
| In-Reply-To: | <201509122223.t8CMNhaZ024482@envy.delorie.com> |
| References: | <CAC4O8c_XFEAgyrokrwwavB0C+OjWXCB5xptkVwMx2i_t960qFg AT mail DOT gmail DOT com> |
| <201509120239 DOT t8C2dAiO026962 AT envy DOT delorie DOT com> | |
| <CAC4O8c_hq9WSaRtv1dUZLyFW-UaPBs-95JGB94EevdiLp8gQtg AT mail DOT gmail DOT com> | |
| <201509122223 DOT t8CMNhaZ024482 AT envy DOT delorie DOT com> | |
| X-Mailer: | Claws Mail 3.11.1 (GTK+ 2.24.27; amd64-portbld-freebsd10.1) |
| MIME-Version: | 1.0 |
| X-MIME-Autoconverted: | from base64 to 8bit by delorie.com id t8CMgkql026750 |
| 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 |
On Sat, 12 Sep 2015 18:23:43 -0400 DJ Delorie <dj AT delorie DOT com> wrote: > Another option here is to switch to a file format that's already > supported by lots of other languages, like XML or YAML. Then the > remaining work breaks down into: > > * Deciding on a schema for the data > > * converting pcb to read/write that schema > > Scripts wouldn't *need* to use pcb's parser, they could use any old > parser library, since the scripts already know what the parts of the > schema they're interested in look like. Read file, fiddle with the > parts you know, write file leaving everything else intact. Yes! Exactly my dream! -- 73 de HA5OGL Op.: Levente
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |