X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f Date: Thu, 16 Jul 2015 17:23:47 -0400 Message-Id: <201507162123.t6GLNlqR029844@envy.delorie.com> From: DJ Delorie To: geda-user AT delorie DOT com In-reply-to: <8F26D2B2-3724-4264-B8A4-933E9377306D@noqsi.com> (message from John Doty on Thu, 16 Jul 2015 15:15:47 -0600) Subject: Re: [geda-user] Net attributes References: <20150712224637 DOT 2d4cc2de AT wind DOT levalinux DOT org> <55A2E9B7 DOT 9040502 AT neurotica DOT com> <20150713131707 DOT GA782 AT recycle DOT lbl DOT gov> <55A4042E DOT 5060402 AT neurotica DOT com> <55A41B30 DOT 50602 AT neurotica DOT com> <254F9AFE-1A3E-4D88-BABF-E6E0F87A56B1 AT icloud DOT com> <1436960577 DOT 1072 DOT 6 DOT camel AT ssalewski DOT de> <201507151820 DOT t6FIKYME001704 AT envy DOT delorie DOT com> <201507152007 DOT t6FK7lv8005229 AT envy DOT delorie DOT com> <24AD56C6-B7C2-4D7E-B69A-F68DBACCBFDC AT noqsi DOT com> <4DD9C29A-2105-45DC-9F17-82DA23433919 AT icloud DOT com> <55A7D999 DOT 5020101 AT ecosensory DOT com! ! > <74093FC3-C9AA-4AFF-A158-720676E70E49 AT noqsi DOT com> <201507162045 DOT t6GKj06r028442 AT envy DOT delorie DOT com> <8F26D2B2-3724-4264-B8A4-933E9377306D AT noqsi DOT com> 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 > Nope. I sometimes have to make multiple copies of a subcircuit > schematic: same topology but different components. Having more > control over hierarchy expansion in gnetlist would be good. I was thinking about the m4 problem in pcb and thought "I wonder if we could put a generic expression parser in where we expect simple values". I don't think it would help much for pcb (without a looping construct, at least), but it might help for heirarchical schematics if a component could have a value that was an expression referencing inherited attributes from the parent. The schematic flattener (if you're flattening it for netlisting, for example) would expand the expression. Part of me says "put a guile expression there" but that opens up the problem of having a schematic with executable code in it. Given the nature of electronics, a mathematical (TeX? Mathematica?) expression would be more natural, but bring its own can of worms...