[racket] Redex question: parameterizing a language definition
Oh: one other gotcha to watch out for. When Racket compiles a file to .zo,
it discards source location information in syntax object templates. This
means that these trick also won't work in that case. It is possible to
preserve this syntax location information.
... long story short: various things in our macro infrastructure do not
combine well with Redex's style of typesetting (specifically the
source-location using aspect of it). At least you can avoid this one by
just not compiling your files.
(Unfortunately this means that writing this up in the docs as an example
gets pretty complex.)
Robby
On Tue, Jun 4, 2013 at 1:53 PM, Lindsey Kuper <lkuper at cs.indiana.edu> wrote:
> On Mon, Jun 3, 2013 at 11:29 PM, Robby Findler
> <robby at eecs.northwestern.edu> wrote:
> > I've written three little examples [...]
>
> Thanks, Robby, this is an enormous help. I'll play with these and see
> what can be done.
>
> Lindsey
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20130604/9b9ff87f/attachment.html>