<div dir="ltr">Great!</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, May 11, 2013 at 2:11 PM, Jon Zeppieri <span dir="ltr"><<a href="mailto:zeppieri@gmail.com" target="_blank">zeppieri@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ok, I fixed this problem. I had just left out tests for immediates in<br>
a number of places. I think I was confused because certain expressions<br>
like<br>
<br>
(syntax? #\c)<br>
<br>
... seemed to be working just fine, but I think they were not actually<br>
working in the JIT. I suspect they were constant-folded before even<br>
getting there.<br>
<br>
Thanks for your help, Matthew and Robby.<br>
<span class="HOEnZb"><font color="#888888"><br>
-Jon<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
On Sat, May 11, 2013 at 1:56 PM, Jon Zeppieri <<a href="mailto:zeppieri@gmail.com">zeppieri@gmail.com</a>> wrote:<br>
> Something to do with syntax, I think, but I'm not sure what:<br>
><br>
>> (datum->syntax #f #\c)<br>
> #<syntax #\c><br>
><br>
>> ((current-prompt-read))<br>
>> #\c<br>
> #<syntax::25 #\c><br>
><br>
>> (read-syntax)<br>
> #\c<br>
> #<syntax::15 #\c><br>
><br>
>> (syntax #\c)<br>
> Segmentation fault: 11<br>
><br>
>> (quasisyntax #\c)<br>
> Segmentation fault: 11<br>
><br>
> They all work when the JIT is disabled.<br>
><br>
> -Jon<br>
><br>
><br>
><br>
> On Sat, May 11, 2013 at 1:32 PM, Jon Zeppieri <<a href="mailto:zeppieri@gmail.com">zeppieri@gmail.com</a>> wrote:<br>
>> On Sat, May 11, 2013 at 1:31 PM, Robby Findler<br>
>> <<a href="mailto:robby@eecs.northwestern.edu">robby@eecs.northwestern.edu</a>> wrote:<br>
>>> Relatedly, does this crash?<br>
>>><br>
>>> (parameterize ([current-input-port (open-input-string "#\\c")])<br>
>>> (read-eval-print-loop))<br>
>><br>
>> Yes, it does. I will take a look at the code in misc.rkt. Thanks!<br>
>><br>
>> -Jon<br>
</div></div></blockquote></div><br></div>