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; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=FG11hQzyKPyC6d0nM+/lW3QUYAO4O+u7z1DHdzmoODk=; b=nmZENYgTrdSuDbrmsgAp5aL05Q0stIUKX1TXgM7bX++ZVk4Z/RmK1WaLocE7njomgX 7aidB5ckeSxZpHCrBMeJw6Vo/hZ5am+CkvChoxWVTCIon61DM2/FwE/6yVzRt0oKtlqa gXWjH91CcKfIKurt9cNUvWwF0gPuugHIL6MgQU0gSY4aH2cwpImUhuzyKgbgEyrp6/G2 pxIHntPPRF2mA2tiNRerggxkT0uaupQWDf2wDtlUj2olWD40pjIx/OcKfVidkH4DI6jt X0wam10L4OTt8lby5egqeuqeJTCVMNZaCmNlhI7aVqjaANDqmJz37R6OodU+rGyPEz5U aoGg== X-Received: by 10.152.22.99 with SMTP id c3mr37233613laf.32.1436862821798; Tue, 14 Jul 2015 01:33:41 -0700 (PDT) Date: Tue, 14 Jul 2015 11:33:39 +0300 From: "Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via geda-user AT delorie DOT com]" To: geda-user AT delorie DOT com Subject: Re: [geda-user] why I parse sch: gnetlist, writing backends (Back annotation) Message-ID: <20150714083339.GA14371@localhost.localdomain> Mail-Followup-To: geda-user AT delorie DOT com References: <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> <20150710132650 DOT GA15876 AT localhost DOT localdomain> <24EB7D6F-62E5-4C78-9853-5383A034E3AA AT noqsi DOT com> <20150710153103 DOT GC17023 AT localhost DOT localdomain> <6BD767D2-5AE7-47C2-887C-D5D98A364038 AT noqsi DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <6BD767D2-5AE7-47C2-887C-D5D98A364038@noqsi.com> User-Agent: Mutt/1.5.23 (2014-03-12) 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 Fri, Jul 10, 2015 at 10:03:27AM -0600, John Doty wrote: > > >> > >> 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. > Hi, John. I've eventually reviewed it and put it at http://wiki.geda-project.org/geda:gnetlist_scheme_primitives Thanks, Vladimir