X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Date: Sun, 8 Feb 2015 13:59:25 +0100 From: Bas Gieltjes To: geda-user AT delorie DOT com Subject: Re: [geda-user] Using Lua to safely read configuration and layout files (program attached) Message-ID: <20150208135925.6f6ddab6@Parasomnia.thuis.lan> In-Reply-To: <3709636.NVszrDDjOR@jasum> References: <32380475 DOT xlWdxyhFd9 AT jasum> <20150208003842 DOT 63db8a55 AT jive> <3709636 DOT NVszrDDjOR AT jasum> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-OriginalArrivalTime: 08 Feb 2015 12:59:25.0881 (UTC) FILETIME=[110F2290:01D0439F] X-RcptDomain: delorie.com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t18CxVk8019164 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 Hello Christian, > My dream > would be a console in gschem (or standalone) for executing our own > scriptlets directly on the life data. When using gschem try hitting the ':'-key, voila a console! Now you need to brush up on your Guile coding skills... > I'm no fanboy of lua, but with an standartised, scriptable data > format, adding a custom netlister or other small housekeeping jobs > like autonumbering, autoslotting should be straightforward. For autonumbering use the script named "auto-uref.scm", to activate it use a hook. For an example see your gschemrc file, find "hooks" or "add-hook!". When writing those custom netlisters or other scripts you need some Guile knowledge. My guess is that I need to find a Python tutorial, it is much quicker to teach myself Python than teaching others Guile. Bas --