delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/07/10/12:03:45

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] why I parse sch: gnetlist, writing backends (Back annotation)
From: John Doty <jpd AT noqsi DOT com>
In-Reply-To: <20150710153103.GC17023@localhost.localdomain>
Date: Fri, 10 Jul 2015 10:03:27 -0600
Message-Id: <6BD767D2-5AE7-47C2-887C-D5D98A364038@noqsi.com>
References: <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> <alpine DOT DEB DOT 2 DOT 00 DOT 1507100501200 DOT 6924 AT igor2priv> <20150710132650 DOT GA15876 AT localhost DOT localdomain> <BFB25FA5-AD1A-473C-B3BC-E0AEC30CEE50 AT noqsi DOT com> <CAM2RGhRb-zkTdwq3Hq_4ge8CfZgxi3JHZZZC2KzHTrMq7GWCjQ AT mail DOT gmail DOT com> <24EB7D6F-62E5-4C78-9853-5383A034E3AA AT noqsi DOT com> <20150710153103 DOT GC17023 AT localhost DOT localdomain>
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 t6AG3aFn032376
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

>> 
>> gnetlist:vams-get-package-attributes refdes
>> 
>> Yields a list of the names of attributes attached to the symbol at schematic level?


>> gnetlist:get-command-line
>> 
>> Broken or unimplemented? Yields #f.
> 
> Hi John,
> 
> Since, AFAIK, we have no similar description in the geda-gaf
> documentation, may I add this to the geda wiki, please?

You may. Note the question marks: I wasn’t entirely certain about gnetlist:vams-get-package-attributes. gnetlist:get-command-line seems to work when invoked from a non-interactive back end (yielding argv[] as a list), but strangely yields #f when invoked interactively from a REPL. Or maybe that’s not the real issue.

gnetlist:get-package-attribute and gnetlist:get-calling-flags are no longer primitive, but are defined in gnetlist.scm. The primitives are now gnetlist:get-all-package-attributes and gnetlist:get-backend-arguments. There may be other changes (especially in 1.9) that I haven’t noticed.

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