unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* modify environments to make sandboxes
@ 2006-06-12 16:20 Mildred
  2006-06-12 16:47 ` Ludovic Courtès
  2006-06-28  4:13 ` Jon Wilson
  0 siblings, 2 replies; 7+ messages in thread
From: Mildred @ 2006-06-12 16:20 UTC (permalink / raw)


Hi,

I'm new to this mailing list and also new to the scheme language ...
I'm used to Lua but I try to search about functionnal programming, and
I found scheme. It looks like a good language but before using it in my
projects I would like to know if tere is an easy way to create
sandboxes.

In lua, it is easy, you create a table containing functions ... and the
table can be made environment for a function. So, you can easily create
secure sandboxes by loading lua code from file and changing the
environment of the loaded code.

I do not know how to do that in scheme. Apparetly the function
null-environment can return an environment and eval can evaluate some
code in an environment. But the question is how to define a variable in
an environment and also how to undefine a variable that you don't want
to appear.
I didn't found anything about modifying an environment. Is it
possible ? If not, why not ? and is it possible to create sandboxes ?
Thanks

Mildred

-- 
Mildred       <xmpp:mildred@jabber.fr> <http://mildred632.free.fr/>
Clef GPG :    <hkp://pgp.mit.edu> ou <http://mildred632.free.fr/gpg_key>
Fingerprint : 197C A7E6 645B 4299 6D37 684B 6F9D A8D6 [9A7D 2E2B]


_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-06-28  4:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-12 16:20 modify environments to make sandboxes Mildred
2006-06-12 16:47 ` Ludovic Courtès
2006-06-12 22:05   ` Neil Jerram
2006-06-22 12:34     ` Ludovic Courtès
2006-06-22 18:36       ` Alan Grover
2006-06-23 14:22         ` Ludovic Courtès
2006-06-28  4:13 ` Jon Wilson

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).