Sage Gerard
unread,Apr 16, 2021, 12:45:54 PM4/16/21Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Racket Users
I'd like to use `eval` in terms of a restricted namespace including
`#%datum` and `#%app`. For minimalism and security, I want to build that
namespace starting from an empty one, without using racket/sandbox,
security guards, or attaching racket/base.
Under these restrictions, I would normally attach a custom module
providing only what I care to expose to the code under evaluation.
That's not a problem, but is it possible to avoid creating the extra
module and imperatively attach implicit forms? I'm thinking of a macro
that behaves like `namespace-set-variable-value!`, but allows implicit
forms.
--
~slg