ftp.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-Original-DKIM-Signature: | v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=psjt.org; |
s=psjt01; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID: | |
Date:References:In-Reply-To:Subject:To:From:Sender:Reply-To:Cc:Content-ID: | |
Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc | |
:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: | |
List-Post:List-Owner:List-Archive; | |
bh=oaPzhdgs7acu2CXVWZNK94AxHxRy1q27s0avImZNBow=; b=KaE5SvPDT4b1cmsIWX7Nsr7r7W | |
2tPYYqgYAGjHFGYpX9ptgWKr3O3ScsXFNXjsKYsuxMnL7N2l+CYFyLMKU+g5nMUzjlS1lVOXwoeXl | |
uELYwfDjqjT4Lqks1+m5J16xE0kTz5np7Z4uxeF9EGT/oYcEQHrj7EvzrLnewpIoxBDnrMcBw9goC | |
WsdqpwhNDLAaOIjmu87y5Dz9rAD/4Fph7qYDeYeo7mtQnGTIKeF/b2eq9Htyi218+I83X9w+l7+0H | |
j38+FHm0TDzsBGzJ6Nu7LS15MwCRAzzltnFe7L5XQvbiXFRCemj3spzvEGOmKsQWZBmHDjmEj1hRb | |
yIGWEJ5g==; | |
From: | "=?utf-8?Q?Stephan_B=C3=B6ttcher?= (geda AT psjt DOT org) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> |
To: | "karl AT aspodata DOT se [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> |
Subject: | Re: [geda-user] lepton netlist |
In-Reply-To: | <20240424112803.C0DAC81AB8A3@turkos.aspodata.se> |
(geda-user AT delorie DOT com's message of "Wed, 24 Apr 2024 13:28:03 +0200 | |
(CEST)") | |
References: | <s6nil076f0t DOT fsf AT psjt DOT org> |
<20240424112803 DOT C0DAC81AB8A3 AT turkos DOT aspodata DOT se> | |
Date: | Wed, 24 Apr 2024 14:41:11 +0200 |
Message-ID: | <s6njzknc4rc.fsf@psjt.org> |
User-Agent: | Gnus/5.13 (Gnus v5.13) |
MIME-Version: | 1.0 |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id 43OCfGrR1378482 |
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 |
"karl AT aspodata DOT se [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> writes: > Stephan: >> Does lepton netlist support parameter substitution in sub-schematic >> attributes? > > There is your patch and mail, I don't think it is applied: > > https://github.com/lepton-eda/lepton-eda/issues/299 > https://archives.seul.org/geda/bug/Jan-2012/msg00029.html > > It would be a nice functionality to have. > > /// > > To implement that I guess we have to do something with > > liblepton/scheme/netlist/hierarchy.scm > liblepton/src/ > > but I'm not really fluent with guile, some help would be needed. > > Do you have any idea where to start ? I do not know any guile. My patch was in C, but the attachment points were moved to scheme, I guess. I do remember that somebody implemented similar functionality, but I do not remember which fork that was. Up to now I used a very old version of gnetlist with my patch applied. But that failed yesterday with newer libraries, gtk, whatever, so I am trying to figure out the best way forward. My patch was doing simple text substitutions in attributes after the hierarchy was built, so the parameters cannot effect the netlist itself, just some output. I used it only with value= attributes. That would be the minimal functionality. Something that can also affect, e.g., source= attributes may be quite a bit more intrusive. Gruß, -- Stephan
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |