Mail Archives: geda-user/2021/04/17/11:09:47
Vladimir:
> On Sat, Apr 17, 2021 at 02:08:02PM +0200, karl AT aspodata DOT se [via geda-user AT delorie DOT com] wrote:
> > Vladimir:
...
> > > M$ and Gnome *.ini or *.ini-like files are not very much suitable
> > > for multi-value records.
...
> (As for me, I had always the feel that Scheme is TRT here. Look,
> e.g., at Guix and/or Kicad. The latter uses sexps for its file
> format and a parser for it written in C++ :-)
Kicad and C++ is a pain, when a lib changes or you change the compiler
it won't run any more, they should link the binaries static to avoid
that, but it doesn't seem to be easily done.
Kicad and sexps is an anomaly since it depends on a non documented
order of the sexps, and as an extra feature, it cannot save in an
older format forcing everybody to upgrade. E.g. rpi4 something is
done in a dev. version of kicad...
> It's a shame that geda moved other way around having all means
> and whose interpreter just _reads_ sexps natively.)
...
Wasn't that about not risking evildoing commands in files inported
from elsewhere. It would be nice have a crippled (a mean safe)
interpreter for such cases, like gs -dSAFER, perl taint, openocd
jimtcl, debian fakeroot (in a way), etc.
Is there any such thing for scheme ?
It could possible be a preload lib, removing "for config files
unsafe syscalls".
If we had that, the rationale for the ini files wouldn't hold any
more.
Regards,
/Karl Hammar
- Raw text -