Is it not possible to programatically define modules?
My naive attempt fails:
julia> quote module Junk end end
quote
#= REPL[38]:1 =#
module Junk
#= REPL[38]:1 =#
#= REPL[38]:1 =#
end
end
julia> eval(ans)
ERROR: syntax: "module" expression not at top level
Stacktrace:
[1] eval at ./boot.jl:319 [inlined]
[2] eval(::Expr) at ./client.jl:393
[3] top-level scope at none:0