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, 6 Sep 2015 15:48:49 +0200 From: "Lev (leventelist AT gmail DOT com) [via geda-user AT delorie DOT com]" To: geda-user AT delorie DOT com Subject: Re: [geda-user] Using parse_l.y etc. for parsers for other languages (via SWIG) Message-ID: <20150906154849.2449a717@jive.levalinux.org> In-Reply-To: References: X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.27; amd64-portbld-freebsd10.1) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id t86DmxFK022460 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 On Sat, 5 Sep 2015 16:51:37 -0800 "Britton Kerin (britton DOT kerin AT gmail DOT com) [via geda-user AT delorie DOT com]" wrote: > Peter suggested using the parser in pcb rather than rewrite in perl. > > I had a look and I think it's not a bad idea. Would get a faster > parser and not too painful I think. I'm considering using SWIG > with some functions to iterate over PCBType contents to rebuild > the lists perl-side. As a bonus you would get parsers for lots of > languages for cheap. It would be easiest to do this in-tree. > > Would this work for what you have in mind on your end? I think it is a good idea to use something that is well written. I'm okay with SWIG. However, it doesen't have to be perl. So yes, if this is towrds the goal of creating a parser, I think this is a good way. Btw, it has a name now, it is called Apollon-PCB. I crated a github project, as my server went down. So I can grant you (and anyone) commit access. https://github.com/leventelist/apollon I look for other developers who can contribute to this project. As the readme states, I want to integrate this into pcb, OR create a brand new project, and use as much code as we can from gEDA/pcb. The schema is changed a bit. I removed hard wired attributes, and created an attribute table. Lev -- 73 de HA5OGL Op.: Levente