Re: [racket-users] How to eval a custom language from inside a module?

2018-11-13 Thread Andrew Wilcox
> > (define-runtime-path example "example.rkt") That works! Thanks! -- 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

Re: [racket-users] How to eval a custom language from inside a module?

2018-11-12 Thread Matthew Butterick
> On Nov 12, 2018, at 2:11 PM, Andrew Wilcox wrote: > > How about providing eval-example from a module? > > ; eval-example.rkt > #lang racket > > (provide eval-example) > > (define example-namespace (make-base-empty-namespace)) > > (parameterize ((current-namespace example-namespace)) > (n