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: | Wed, 9 Sep 2015 22:35:08 +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] early results/problems trying to make pcb file |
parsers using SWIG | |
Message-ID: | <20150909223508.054c1f83@jive.levalinux.org> |
In-Reply-To: | <CAC4O8c_aVFNYKEg8RWO7hY70+kzvy35fQ+31eAEXyLLLt+12TQ@mail.gmail.com> |
References: | <CAC4O8c_aVFNYKEg8RWO7hY70+kzvy35fQ+31eAEXyLLLt+12TQ AT mail DOT gmail 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 t89KZHto024656 |
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 Wed, 9 Sep 2015 00:46:05 -0800 "Britton Kerin (britton DOT kerin AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> wrote: > Spent today on this. Britton, Thank you very much for doing this. I started to write a document about the proposed data structure. I'm going to push it when it gets to a point when it worth sharing. > SWIG itself was somewhat painful, had to rebuild most of pcb as shared > lib, but it calls into it ok now > Then come the problems with pcb itself... > > LoadPCB(char *) sounds good but apparently not, it seg faults I think I'd start it with gdb, and see what is the data, that is missing. > due to assumptions about things in global Settings already being > filled in. Down from there its something of a tangled web, as pcb > file and settings loading seem strangely intertwined. Anyone off-hand > know how/what to call to parse just the pcb file? > > This mess manifests itself to users as well with the strange rewriting > of the config file by pcb (I'd much rather just get error messages) > and lack of clarity where the settings are coming from. Not that I > have any idea how to clean it up > I hope I'll have some time in the weekend to hack on pcb. I think it would be nice to have the parser from pcb itself, and then the other way, read a database, and store the data inside pcb's data structures. Unfortunately, I have very limited bandwidth to work on this project, but I hope others will join us to help. Could you send me your working tree? Lev -- 73 de HA5OGL Op.: Levente
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |