[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: Design Nark



On Tue, 19 Jul 2011 16:56:18 -0300
Adrian Pardini <pardo.bsso@xxxxxxxxx> wrote:

> On 19/07/2011, Colin D Bennett <colin@xxxxxxxxxxx> wrote:
> >
> > And not m4 script, please!  Ideally various scripting languages
> > could be used (Python, Perl, Scheme, Lua, etc.) as various users
> > prefer. Personally, I would be happy with a clean language such as
> > either Python or Lua.
> >
> 
> How about a symbol with an 'execute' attribute, when it is found it
> runs whatever is there passing the rest of the attributes as
> parameters or via stdin, then outputting the result. Even something
> like shar could be implemented, so the script and the symbol are in
> one file. Of course this opens the problem of checking third party
> symbols from nasty stuff inside.

That's a nice general-purpose idea.  But as you mention, it is a
serious security hole that we can avoid with some more supporting
code.  For instance, a sandboxed Lua environment is trivial to
implement.

> Maybe I looked into wrong places but something to filter the current
> selection / buffer with an external program would be useful too.

That would be useful, too.

Regards,
Colin


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user