www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/02/08/10:54:33

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-TCPREMOTEIP: 207.224.51.38
X-Authenticated-UID: jpd AT noqsi DOT com
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
Subject: Re: [geda-user] Using Lua to safely read configuration and layout files (program attached)
From: John Doty <jpd AT noqsi DOT com>
In-Reply-To: <1897145.BbSdS1MRWc@jasum>
Date: Sun, 8 Feb 2015 08:53:17 -0700
Message-Id: <EE929E31-B2C7-48BF-BA49-B2E728DB99C3@noqsi.com>
References: <CAOFvGD7pJTo8A=MXVbuuXO=++0vGukUyqVfckVtnCi99ziqWJQ AT mail DOT gmail DOT com> <3709636 DOT NVszrDDjOR AT jasum> <20150208135925 DOT 6f6ddab6 AT Parasomnia DOT thuis DOT lan> <1897145 DOT BbSdS1MRWc AT jasum>
To: geda-user AT delorie DOT com
X-Mailer: Apple Mail (2.1878.6)
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t18FrRli008988
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

On Feb 8, 2015, at 6:39 AM, Christian Riggenbach <criggenbach AT magahugu DOT ch> wrote:

> I once wanted to change a netlister backend to my needs, but I gave up and
> used grep/awk/cut because of the (IMHO) obscure syntax of scheme.

Obscure syntax? Hardly, it’s just parentheses. It’s the functions in the parentheses that are obscure ;-)

> Simple
> tasks like outputing the filenames of all the referenced symbols should be
> possible with the netlister,

Yes. However, that information is hidden by the API. The Scheme configuration code tells the C layer where to look. The C layer finds the files. The C layer does not reveal the file names, or where it found them, through the API to the Scheme layer. This is a problem. Similarly, you can attach attributes to net segments, but the netlister can’t get at them. Having the schematic representation in C structures and only publishing certain views of this data through the Scheme API is a serious limitation. The views are well chosen for flat netlisting and BOM generation, but sometimes you need more.

John Doty              Noqsi Aerospace, Ltd.
http://www.noqsi.com/
jpd AT noqsi DOT com



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019