unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Evaluation with function whitelist
@ 2023-07-15  3:03 Ryan Raymond
  2023-07-15  5:45 ` Mike Gran
  0 siblings, 1 reply; 8+ messages in thread
From: Ryan Raymond @ 2023-07-15  3:03 UTC (permalink / raw)
  To: guile-user

Hello, all.
I've been on this for almost a month now. I'm working on a project for my
work, where we need a console to control automation. I wanted to use an
existing language instead of developing one, and I thought Guile would be a
good choice. Basically, I want the user to be able to open a repl shell,
but by default it should have *no* bindings except the ones I whitelisted.

For example, (getcwd) should fail, even (if #t #t #f) should say that "if"
isn't defined. Then I can add in only the procedures I want (plus a couple
automation commands). Does anyone know how to do this? I'm at my wit's end.

I was thinking I could get a list of all the language bindings and un-bind
them in one fell swoop, but I haven't found a way to do that.

Thanks,
Ryan


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

end of thread, other threads:[~2023-07-16  9:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).