unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: "Dr. Arne Babenhauserheide" <arne_bab@web.de>
To: Mike Gran <spk121@yahoo.com>
Cc: Ryan Raymond <rjraymond@oakland.edu>,
	"Thompson, David" <dthompson2@worcester.edu>,
	Guile User <guile-user@gnu.org>
Subject: Re: Evaluation with function whitelist
Date: Sun, 16 Jul 2023 11:31:09 +0200	[thread overview]
Message-ID: <87pm4s5hfp.fsf@web.de> (raw)
In-Reply-To: <1751372416.467239.1689473385582@mail.yahoo.com>

[-- Attachment #1: Type: text/plain, Size: 695 bytes --]


Mike Gran <spk121@yahoo.com> writes:
> So I went ahead and checked in a working version of
> my constrained REPL plus a constrained environment in the
> (sandy sandy) module found here:
> https://github.com/spk121/guile-web-sandbox/tree/master/module/sandy

"Containerized web repl" — that sounds awesome!

If you want to use websockets to communicate with it, you may be able to
take some of my code from dryads wake:

https://hg.sr.ht/~arnebab/dryads-sun/browse/game-helpers.w?rev=tip#L458

There were some hacks needed to cleanly forward the websocket to ports
in fibers.

Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 1125 bytes --]

      reply	other threads:[~2023-07-16  9:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-15  3:03 Evaluation with function whitelist Ryan Raymond
2023-07-15  5:45 ` Mike Gran
2023-07-15 10:40   ` Dr. Arne Babenhauserheide
2023-07-15 14:09     ` Thompson, David
2023-07-15 20:05       ` Ryan Raymond
2023-07-15 21:01         ` Dr. Arne Babenhauserheide
2023-07-16  2:09           ` Mike Gran
2023-07-16  9:31             ` Dr. Arne Babenhauserheide [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pm4s5hfp.fsf@web.de \
    --to=arne_bab@web.de \
    --cc=dthompson2@worcester.edu \
    --cc=guile-user@gnu.org \
    --cc=rjraymond@oakland.edu \
    --cc=spk121@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).