<br>Is there a way to turn a string into a syntax object without calling read?&nbsp; Something feels wrong with what i'm doing.&nbsp; {I mean someting feels wrong beond the fact that i'm dealing with infix notation ;)}<br><br><br>The setup:
<br><br>i've written a re-infixer that does the reverse of Dannys &quot;infix&quot; package.&nbsp; It works as follows:<br><br>&gt; (refix `(+ 2 4))<br>&quot;(2 + 4)&quot;<br><br>{note that it returned a string}<br><br>I then do a &quot;full circle&quot; test by doing:
<br><br>&gt; (refix `(define x 7))<br>&quot;define(x, 7)&quot;<br>&gt; x<br>. reference to undefined identifier: x<br>&gt; (read (open-input-string (string-append &quot;(infix &quot; (refix `(define x 7)) &quot;)&quot;)))
<br>(infix define (x ,7))<br>&gt; x<br>. reference to undefined identifier: x<br>&gt; (eval (read (open-input-string (string-append &quot;(infix &quot; (refix `(define x 7)) &quot;)&quot;))))<br>#&lt;primitive:&gt;&gt;<br>
&gt; x<br>7<br><br>However doing '(string-append &quot;(infix &quot; {blah} &quot;)&quot;)' feels wrong.&nbsp; It feels more like i should be doing:<br>(eval `(infix ,(some-command-to-turn-a-string-into-a-syntax-object &quot;define(x, 7)&quot;)))
<br><br><br>Anyone have comments, or ideas for better ways to do this?<br><br>Corey<br><br>-- <br>((lambda (y) (y y)) (lambda (y) (y y)))