On Sun, Aug 4, 2019 at 2:40 PM Jesse Alama <je...@lisp.sh> wrote: > [...] > > In secret.rkt I've essentially got this: > > (define program (parse path)) > (parameterize ([current-namespace (make-base-empty-namespace)]) > (namespace-require '(file "expander.rkt")) > (eval program)) >
I thought I knew the solution, but when I tried it, it didn't work. I thought you needed to produce a runtime module path for the module that you're `namespace-require`-ing: (define-runtime-module-path-index expander-path expander-path "expander.rkt") ... and then use that in the `namespace-require`. But when I produce an executable and run it, I always get a "require: unknown module" error. (Also, it wasn't clear to me if this is supposed to work unless you also use `raco distribute`, so I tried that. Same problem.) So I'm also stumped. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/CAKfDxxyk7omp6AzGijv0R54ZnFPzy7MqfETNg3wZmq8yHN1uiA%40mail.gmail.com.