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=ps9qHFy7YWlK+nui4JD+dmpqpbxPVCPj9eJDQC1iU3E=; b=SqhWJcm6Lcr8xc5EsHrw+HFSFKpXWsXYt4MCbxL6a+nKP/BMLx3gQ/mtqbIMkmHfEL hiwpbkpsSBZvqzH1odGGqwzdMI4LRir3jIGh6HML1ymJf9DIQImyhkwwXrv2gp+8O1KW djkMt1TuUU/qU7bYhjln+9hSoRBOXVqvJWj5r5zht4I86xH7hr5s8JZFqbDYFMr1ZtRz hBswLGXgNc0p67pDdJjsCBJ6Lu2FcsyQwYsF5kb75KnhgJCPj5MrEDcxsei4YN3xThea wncSL8i/Zl3mZc2Ecu/4zuKHL0Wgr1bLTRdzSIBcpaEIyvBoqsusu8+sm9T+7GfLxn6m NBVA== X-Received: by 10.112.160.98 with SMTP id xj2mr1098234lbb.124.1442011224169; Fri, 11 Sep 2015 15:40:24 -0700 (PDT) Date: Sat, 12 Sep 2015 01:40:22 +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] Guile snippets Message-ID: <20150911224022.GD7946@localhost.localdomain> Mail-Followup-To: geda-user AT delorie DOT com References: <20150911215322 DOT GC7946 AT localhost DOT localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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, Sep 11, 2015 at 04:22:09PM -0600, John Doty wrote: > > On Sep 11, 2015, at 3:53 PM, Vladimir Zhbanov (vzhbanov AT gmail DOT com) > [via geda-user AT delorie DOT com] wrote: > > > I'm trying to make Guile more interesting / less awful for gEDA users. > > > > As a first attempt, I've added some example scripts at [1]. > > > > Please look at them, try them and ask questions if something is unclear. > > > > I'm planning to add other info since I have some (I hope) useful > > scripts, e.g. making symbols using Guile or transforming hierarchy into > > a symbol (grown from from the geda_sch2sym shell script on Launchpad). > > > > Any feedback is appreciated. > > Really cool stuff! Thank you. > The only thing I’d change is the header "Scripting examples”. It > should be “Gschem Scripting Examples”. The gschem and gnetlist Guile > API’s are very different, so it could confuse readers. Amongst other things, I'm planning adding info about using 'gaf shell' as well. OTOH, my wish is to turn all geda-gaf programs we have now into modules so that we could just write (use-modules (geda gnetlist)) to have the gnetlist functionality in gschem, for instance. Really, some of them are just one-function-programs, such as gschlas, which would be very convenient to use inside gschem (as a menu entry) or gaf (as an import/export command), I believe. Cheers, Vladimir