X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=devcOgADTKM2tYGHRpwrwnFtMriR6ysw1SBa2iuhwtU=; b=z9NBWlTV4OnybwLS+2gg+m6ryQeN5rpZgFICGF/WmE1+H78PKjYH7AXdLpjlVvsn0c CnGXCTQu7z3lW4Bm3FzwKBaWvZe83s7yX/MdiA4oMj0zz71fCPkGE+exo4F28tO85THe LXE0pcaYPMMxtnaueDfzcugomhGtwC6UrXwjWW968AFPDCQkXnOZGcB3IJz4aHW60G5P mQnlYLJYTDQjpn53h8+RMj0T21XO5LQ4LeXuFciXvc0WHfCbug6GWMVRb0b82ca3jAaP Gd3OQtXcSC49sj1yZx2Nd4lY84rZGhKbfJbKRt7hFje1QZOMvrn/qYMGxioHK/Oip0oS Iv+g== MIME-Version: 1.0 X-Received: by 10.112.124.164 with SMTP id mj4mr17029225lbb.3.1436485538578; Thu, 09 Jul 2015 16:45:38 -0700 (PDT) In-Reply-To: <201507092332.t69NWUEN006109@envy.delorie.com> References: <559E86A4 DOT 3040109 AT ecosensory DOT com> <201507091843 DOT t69IhGF6028321 AT envy DOT delorie DOT com> <6392CE1A-AFA0-4D62-979C-3F35786422BD AT noqsi DOT com> <201507092127 DOT t69LRHRC001744 AT envy DOT delorie DOT com> <559EFE69 DOT 1040601 AT zoot DOT drehmel DOT com> <201507092332 DOT t69NWUEN006109 AT envy DOT delorie DOT com> Date: Thu, 9 Jul 2015 23:45:38 +0000 Message-ID: Subject: Re: [geda-user] Back annotation From: "Evan Foss (evanfoss AT gmail DOT com) [via geda-user AT delorie DOT com]" To: geda-user AT delorie DOT com Content-Type: text/plain; charset=UTF-8 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 Thu, Jul 9, 2015 at 11:32 PM, DJ Delorie wrote: > >> How do you think this mapping tool should get the data from the schematic - >> via a special scheme netlist script or by reading the schematic file itself? > > Nothing should read the schematic itself. I thought of two ways: Agreed. Too many of the scripts people have contributed directly parse/interpret the sch or fp files. What we need is to tidy up libgeda and pcb so that there is a documented interface for this kind of work. > 1. The various tools that deal with attributes also know about > "implied" attributes, which are the result of database and ruleset > queries. Thus, in gschem's attribute window you'd have access to > the database as well as user-specified attributes. This lets the > user override the rules while still having the convenience of a > database. > > 2. The netlister would need to feed its data into some sort of engine > that combines the specific attributes with implied ones, adds in > other external data and/or back-annotation data, and produce > whatever the backend needs. -- Home http://evanfoss.googlepages.com/ Work http://forge.abcd.harvard.edu/gf/project/epl_engineering/wiki/