delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/07/13/04:01:34

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Date: Mon, 13 Jul 2015 10:08:08 +0200 (CEST)
X-X-Sender: igor2 AT igor2priv
To: "Chris Smith (space DOT dandy AT icloud DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
X-Debug: to=geda-user AT delorie DOT com from="gedau AT igor2 DOT repo DOT hu"
From: gedau AT igor2 DOT repo DOT hu
Subject: Re: [geda-user] The new to do
In-Reply-To: <0A5D410F-D1EF-4FC6-AF0F-BB13218B1615@icloud.com>
Message-ID: <alpine.DEB.2.00.1507131000330.6924@igor2priv>
References: <CAM2RGhQ70Pex5aNeQ86vKHc7sKf_Vpws69__CPb2QKg6fJTeHg AT mail DOT gmail DOT com> <mnv04v$if0$1 AT ger DOT gmane DOT org> <0A5D410F-D1EF-4FC6-AF0F-BB13218B1615 AT icloud DOT com>
User-Agent: Alpine 2.00 (DEB 1167 2008-08-23)
MIME-Version: 1.0
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 Mon, 13 Jul 2015, Chris Smith (space DOT dandy AT icloud DOT com) [via geda-user AT delorie DOT com] wrote:

>> * make gschem scriptable in a widely known language.
>> * make pcb scriptable in a widely known language. Preferably the same
>> scripting language as for gschem.
>
> I would say ?familiar? rather than ?widely known?.  It doesn?t really matter if it?s Python, Ruby, Lua, or even PERL (to some extent), any user familiar with one can easily switch to another with little effort.  My only caveat is my point above about minimal dependencies, there?s no point choosing a language that calls in 50MB of dependencies ? that?s why I prefer Lua, but I don?t want to start another war.

I had such an effort years ago. It was a standalone plugin for PCB of the 
time. It used GPMI to support multiple languages - not requiring all of 
them installed, but letting the user install language plugins. It 
supported all the languages you listed above (gpmi even has a guile 
backend!).

Unfortunately it did not attract any user. I think only a very few people
are actually interested in scripting PCB (other than with the builtin 
action language).

You can take a look at the old project and example scripts at 
http://repo.hu/projects/pcb-gpmi/

Nevertheless, I really need this feature so I plan to merge this project 
with my pcb fork (pcb-rnd).

Regards,

Igor2

- Raw text -


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