* safe guile
@ 2002-10-09 13:35 Major A
2002-10-09 16:02 ` Paul Jarc
0 siblings, 1 reply; 2+ messages in thread
From: Major A @ 2002-10-09 13:35 UTC (permalink / raw)
Hi,
I'm looking for an embeddable extension language, and guile seems to
be just what I'm looking for. However, I have a problem with it in the
way that it comes with POSIX and network interfaces etc. by default. I
would like to have a plain library which simply executes R5RS and
nothing more, only the symbols explicitly declared via the gh
interface are available to the Scheme code. Is it possible to
configure guile this way? Or just build parts of guile? (I would be
happy to copy parts of the library to my project, which is under GPL).
Rob, I had a look at the absolute path thing, but I can't figure out
how that would solve my problem.
Andras
===========================================================================
Major Andras
e-mail: andras@users.sourceforge.net
www: http://andras.webhop.org/
===========================================================================
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: safe guile
2002-10-09 13:35 safe guile Major A
@ 2002-10-09 16:02 ` Paul Jarc
0 siblings, 0 replies; 2+ messages in thread
From: Paul Jarc @ 2002-10-09 16:02 UTC (permalink / raw)
Cc: guile-user
Major A <andras@users.sourceforge.net> wrote:
> I would like to have a plain library which simply executes R5RS and
> nothing more, only the symbols explicitly declared via the gh
> interface are available to the Scheme code.
You can create a new module like this:
(use-modules (ice-9 safe))
(define new-module (make-safe-module))
You can remove some bindings fom that module, and then any code you
eval in that module won't be able to use those procedures.
paul
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-10-09 16:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-09 13:35 safe guile Major A
2002-10-09 16:02 ` Paul Jarc
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).