Re: sandboxing Guile extensions

2019-02-22 Thread Noneayour Business
Thanks for the help with this! I hadn't understood the docs well enough to understand that the sandbox module did allow restrictions on what library functions were available. Unfortunately the sandbox module is only available with guile 2.2+, which makes it impractical for my

Re: Re: sandboxing Guile extensions

2019-02-16 Thread Zelphir Kaltstahl
> -- > > Message: 1 > Date: Fri, 15 Feb 2019 20:31:54 + > From: tantalum > To: Guile user > Subject: Re: sandboxing Guile extensions > Message-ID: <52269e4a33f7a4941286ac5d02ba0...@posteo.de&

Re: sandboxing Guile extensions

2019-02-15 Thread tantalum
i think it is possible to restrict the bindings available for code that is evaluated with eval-in-sandbox. eval-in-sandbox accepts a keyword argument named #:module for supplying a module object which gives all bindings that will be available to the evaluated code. a module with the allowed bin

sandboxing Guile extensions

2019-02-10 Thread Noneayour Business
I have a GUI app http://www.lightandmatter.com/ogr/ogr.html in which I've just implemented a very rudimentary extension mechanism using Guile. I'm not an experienced lisp programmer at all. This has been my first use of lisp beyond "hello, world." The purpose of my extension