delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/02/08/08:28:32

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Proofpoint-Virus-Version: vendor=fsecure
engine=2.50.10432:5.13.68,1.0.33,0.0.0000
definitions=2015-02-08_02:2015-02-08,2015-02-08,1970-01-01 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0
suspectscore=3 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0
reason=mlx scancount=1 engine=7.0.1-1412110000 definitions=main-1502080143
From: Chris Smith <space DOT dandy AT icloud DOT com>
MIME-version: 1.0 (1.0)
Subject: Re: [geda-user] Using Lua to safely read configuration and layout
files (program attached)
Message-id: <5275BECE-FDDD-4BB2-A94D-05EB647C8145@icloud.com>
Date: Sun, 08 Feb 2015 13:27:12 +0000
References:
<CAOFvGD7pJTo8A=MXVbuuXO=++0vGukUyqVfckVtnCi99ziqWJQ AT mail DOT gmail DOT com>
<20150208003842 DOT 63db8a55 AT jive>
<AEAD8607-94F1-43CB-A339-BF881484BE96 AT icloud DOT com> <3635158 DOT z6Jv0Z2n4b AT jasum>
In-reply-to: <3635158.z6Jv0Z2n4b@jasum>
To: "geda-user AT delorie DOT com" <geda-user AT delorie DOT com>
X-Mailer: iPad Mail (12B466)
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t18DRJgC022822
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 8 Feb 2015, at 13:12, Christian Riggenbach <criggenbach AT magahugu DOT ch> wrote:
> 
>> It might be enough simply to say that schematics/symbols can be as dynamic
>> as you like, but they will be evaluated once when instantiated and will be
>> static from that point on.
> 
> +1
> 
> Or have some kind of editor in gschem to "escape" scriptlets. You can define 
> accessors for lua objects, so you can parametricate quite simply without 
> disturbing the API.

It might be enough to simply allow an attribute: script="<attribute>=<expression>".

Chris

- Raw text -


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