`read-syntax` is special, because its job is to convert the surface notation of 
a #lang into S-expressions. So whatever is happening in `read-syntax` is 
happening during compile time, even if we're using functions rather than 
macros. In general, the reader is the most idiosyncratic part of the #lang 
processing pipeline (though perhaps this stands to reason, as surface notations 
are likewise idiosyncratic)


> On Apr 15, 2019, at 2:59 PM, Raoul Schorer <raoul.scho...@gmail.com> wrote:
> 
> However, I am confused because my lexer (using parser-tools) and pre-expander 
> are defined as standard functions. So in fact, they execute only once at run 
> time, at the difference of a language implemented only with macros which 
> would then have a clear compile time/run time distinction. I would have 
> expected that writing a racket DSL would involve doing almost everything with 
> macros, so is this way of doing things suboptimal?

-- 
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.

Reply via email to