Re: [racket] Understanding error in use of submodule in my language

2014-09-05 Thread Marco Monteiro
Thanks, Matthew. I fixed it by not expanding the module* form in the local-expand, i.e. I used (list #'module*) as the third argument to local-expand. Cheers, Marco On Fri, Aug 22, 2014 at 4:38 PM, Matthew Flatt wrote: > I think this may be a problem in macro expansion with submodules. > > Th

Re: [racket] Understanding error in use of submodule in my language

2014-08-22 Thread Matthew Flatt
I think this may be a problem in macro expansion with submodules. The `#%module-begin` from `racket/base` adds a submodule declaration for `configure-runtime` when it doesn't see an existing submodule declaration for `configure-runtime` --- but it looks for an existing declaration as an immediate

[racket] Understanding error in use of submodule in my language

2014-08-21 Thread Marco Monteiro
Hello! I'm using Racket 6.1 I'm trying to understand this error. I'm using submodules in a language I defined. The language file is here: http://pastebin.com/7RiHHRmi Notice the commented out line 28. I use that language in the following code http://pastebin.com/Qa6RD9wF raco expanding this