[racket-dev] Another JIT question

From: Jon Zeppieri (zeppieri at gmail.com)
Date: Sat May 11 13:56:48 EDT 2013

Something to do with syntax, I think, but I'm not sure what:

> (datum->syntax #f #\c)
#<syntax #\c>

> ((current-prompt-read))
> #\c
#<syntax::25 #\c>

> (read-syntax)
#\c
#<syntax::15 #\c>

> (syntax #\c)
Segmentation fault: 11

> (quasisyntax #\c)
Segmentation fault: 11

They all work when the JIT is disabled.

-Jon



On Sat, May 11, 2013 at 1:32 PM, Jon Zeppieri <zeppieri at gmail.com> wrote:
> On Sat, May 11, 2013 at 1:31 PM, Robby Findler
> <robby at eecs.northwestern.edu> wrote:
>> Relatedly, does this crash?
>>
>> (parameterize ([current-input-port (open-input-string "#\\c")])
>> (read-eval-print-loop))
>
> Yes, it does. I will take a look at the code in misc.rkt. Thanks!
>
> -Jon

Posted on the dev mailing list.