X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.13.68,1.0.33,0.0.0000 definitions=2015-02-10_03:2015-02-09,2015-02-10,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=5 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1412110000 definitions=main-1502100087 Content-type: text/plain; charset=windows-1252 MIME-version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Subject: Re: [geda-user] Using Lua to safely read configuration and layout files (program attached) From: Chris Smith In-reply-to: <54D8D57C.6010901@ecosensory.com> Date: Tue, 10 Feb 2015 09:00:04 +0000 Message-id: References: <3709636 DOT NVszrDDjOR AT jasum> <20150208135925 DOT 6f6ddab6 AT Parasomnia DOT thuis DOT lan> <1897145 DOT BbSdS1MRWc AT jasum> <66DD3BF9-092C-4EFF-B12D-6214141C152D AT icloud DOT com> <52E0C8E3-2FD3-4D79-A01D-962E7EFA6D4F AT noqsi DOT com> <638942CE-E278-40ED-8C36-6A89C33FD158 AT noqsi DOT com> <54D7CC55 DOT 1090602 AT ecosensory DOT com> <54D8D57C DOT 6010901 AT ecosensory DOT com> To: geda-user AT delorie DOT com X-Mailer: Apple Mail (2.2070.6) Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t1A90HZO024047 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 9 Feb 2015, at 15:42, John Griessen wrote: > > they will have node lists like: > > VDDA2: module1:1/port4 module1:1/module5:1/port2 module1:1/module5:1/port1 module1:1/module5:1/C4 > > Where the slashes separate hierarchy levels and the colons enumerate instances. > module5:1 is surrounded by slashes so one knows it is a separate text to parse that has meaning about levels. I’m not sure I fully understand that. I get the instance notation, but are you saying that the following analogies might hold: module1:1/port4 = op-amp-1.sym:1/pin4 module1:1/module5:1/port2 = op-amp-1.sym:1/npn-1.sym:1/pin2 (assuming op-amp-1.sym might actually be a sub-circuit.) Chris