delorie.com/archives/browse.cgi | search |
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-1502080135 | |
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: | <57199475-C2BF-4E6D-8161-1D1FE7963B3D@icloud.com> |
Date: | Sun, 08 Feb 2015 12:45:34 +0000 |
References: | |
<CAOFvGD7pJTo8A=MXVbuuXO=++0vGukUyqVfckVtnCi99ziqWJQ AT mail DOT gmail DOT com> | |
<32380475 DOT xlWdxyhFd9 AT jasum> <20150208003842 DOT 63db8a55 AT jive> | |
<3709636 DOT NVszrDDjOR AT jasum> | |
In-reply-to: | <3709636.NVszrDDjOR@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 t18Ck6jH017186 |
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 11:47, Christian Riggenbach <criggenbach AT magahugu DOT ch> wrote: > >> On Sunday 08 February 2015 00.38:42 you wrote: >> I wouldn't use ANY scripts in the PCB or sch file. That would make life >> very hard. > > I think the approach of Jason White to prohibit the execution of scripts in > the loading stage is great. No loops, ifs or other constructs, just tables > with function-"pointers". I disagree. I think such abilities are far too useful to prohibit wholesale. It would be better, I think, to say that files are evaluated once when loaded and are static from then on. This would allow parametric operation without causing future problems. Chris
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |