Hello, is it possible to let an embedded-executable start in a submodule? If yes, how do you do this?
I tried (create-embedding-executable exe-name #:gracket? #f #:verbose? #f #:modules (if (build-subs B) `((#f ,filename ,(submods)) `((#f ,filename))) #:configure-via-first-module? #t #:literal-expression (parameterize ([current-namespace (make-base-empty-namespace)]) (namespace-require 'racket/base) (if (build-subs B) (compile `(namespace-require '(submod ',(string->symbol (path->string short-program-name)) ,(string->symbol (build-subs B))))) (compile `(namespace-require '',(string->symbol (path->string short-program-name))))))) but I get: require: unknown module module name: #<resolved-module-path:(submod 'filename submods)> context...: loop Also, does the resolved-module-path structure mean that the path was completely resolved during compilation, or only the first step? Any help would be appreciated, Bert
____________________ Racket Users list: http://lists.racket-lang.org/users