You've mentioned that you want to "define a custom language" and evaluate it. But so far I don't see any sign that you're using Racket's dedicated facilities for doing this (especially `#%module-begin` and `module`). If this is a deliberate choice, carry on. If not, consider investigating them, because they streamline the very chores you're finding painful.
> On Nov 16, 2018, at 10:43 AM, Andrew Wilcox <andrew.wil...@gmail.com> wrote: > > What I want to do is rather simple (I hope): define a custom language in a > module such as example.rkt, and then be able to eval that language. > > Is there a way to do this? -- 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. For more options, visit https://groups.google.com/d/optout.