Re: Evaluation with function whitelist

2023-07-15 Thread Mike Gran
Hey all- It was just by weird coincidence that I was working on something quite similar to all this for another side project, which is why I had an answer at hand originally. So I went ahead and checked in a working version of my constrained REPL plus a constrained environment in the (sandy sandy

Re: Evaluation with function whitelist

2023-07-15 Thread Dr. Arne Babenhauserheide
Ryan Raymond writes: > Thank you, all. I think it's safe to consider this matter concluded! Great to hear that — good luck! Best wishes, Arne -- Unpolitisch sein heißt politisch sein, ohne es zu merken. draketo.de signature.asc Description: PGP signature

Re: Evaluation with function whitelist

2023-07-15 Thread Ryan Raymond
Mike, you are truly a lifesaver. My work uses an in-house programming language that really is not too great, but now I finally have a chance to change their minds. Thank you so much! This appears to do exactly what I need. Dr. Arne, I will certainly use sandboxed evaluation as you have suggested. I

Re: Evaluation with function whitelist

2023-07-15 Thread Thompson, David
Hey Ryan, Mike, Arne, On Sat, Jul 15, 2023 at 6:48 AM Dr. Arne Babenhauserheide wrote: > > Mike Gran writes: > > >>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. > > Define a module in a file

Re: Evaluation with function whitelist

2023-07-15 Thread Dr. Arne Babenhauserheide
Hi Mike, Mike Gran writes: >>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. > Define a module in a file with the "#:pure" option so that it starts off > empty. … > Using the real repl is proba