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 Content-type: text/plain; charset=us-ascii 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: <20150208003842 DOT 63db8a55 AT jive> <3635158 DOT z6Jv0Z2n4b AT jasum> In-reply-to: <3635158.z6Jv0Z2n4b@jasum> To: "geda-user AT delorie DOT com" X-Mailer: iPad Mail (12B466) Content-Transfer-Encoding: 8bit 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 Precedence: bulk > On 8 Feb 2015, at 13:12, Christian Riggenbach 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="=". Chris