<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Dec 5, 2013 at 2:30 AM, Laurent <span dir="ltr"><<a href="mailto:laurent.orseau@gmail.com" target="_blank">laurent.orseau@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div class="im">On Wed, Dec 4, 2013 at 11:47 PM, Harry Spier <span dir="ltr"><<a href="mailto:vasishtha.spier@gmail.com" target="_blank">vasishtha.spier@gmail.com</a>></span> wrote: <br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>2)<br></div><div>What am I doing wrong here. -- everything :-)</div>
<div>I'm trying to change the command character from @ to # so that I can have raw strings containing both \ and @ </div><div>looking at the racket documentation here:</div>
<div><a href="http://docs.racket-lang.org/scribble/reader-internals.html?q=at-exp#%28def._%28%28lib._scribble%2Freader..rkt%29._make-at-readtable%29%29" target="_blank">http://docs.racket-lang.org/scribble/reader-internals.html?q=at-exp#%28def._%28%28lib._scribble%2Freader..rkt%29._make-at-readtable%29%29</a></div>
<div><br></div><div>I've done this:</div><div><br></div><div>#lang at-exp racket<br>(require scribble/reader)<br>(use-at-readtable #:command-char #\#)<br>(define RAW string-append)<br>(display #RAW{C:\Users\Harry\SANSKRIT\GRETIL ALL\adyappu.htm})<br>
(display #<a href="mailto:RAW%7Bharryspier@hotmail.com" target="_blank">RAW{harryspier@hotmail.com</a>})<br></div></div></blockquote><div><br></div></div><div>I don't know enough about readtables to help you here, but it seems that `use-at-readtable' is only for the REPL:<br>
<a href="http://docs.racket-lang.org/scribble/reader-internals.html?q=use-read-table#%28def._%28%28lib._scribble%2Freader..rkt%29._use-at-readtable%29%29" target="_blank">http://docs.racket-lang.org/scribble/reader-internals.html?q=use-read-table#%28def._%28%28lib._scribble%2Freader..rkt%29._use-at-readtable%29%29</a><br>
<br></div><div></div></div></div></div></blockquote><div><br></div><div>
<div class="gmail_extra"><div class="gmail_quote"><div>Yes it works with the REPL<br></div></div>------------------------------<br></div><div class="gmail_extra">DEFINITIONS WINDOW</div><div class="gmail_extra"><br></div>
<div class="gmail_extra">#lang at-exp racket<br>(require scribble/reader)<br>(use-at-readtable #:command-char #\#)<br>(define RAW string-append)<br></div><div class="gmail_extra">----------------------------------------</div>
<div class="gmail_extra">INTERACTIONS WINDOW</div><div class="gmail_extra">Welcome to DrRacket, version 5.3.6 [3m].<br>Language: at-exp racket [custom]; memory limit: 1024 MB.<br>> (display #<a href="mailto:RAW%7Bharryspier@hotmail.com">RAW{harryspier@hotmail.com</a>})<br>
<a href="mailto:harryspier@hotmail.com">harryspier@hotmail.com</a><br>> </div><div class="gmail_extra">---------------------------------------------</div><div class="gmail_extra"><br></div>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>Someone ought to build the `at-any-exp' language Matthew was talking about a few days ago, so that one can write <br>
</div><div>#lang at-any-exp $ racket<br></div><div>$~a{Yay, dollar-exp syntax!}<span class=""><font color="#888888"><br><br>
</font></span></div><span class=""><font color="#888888"><div>Laurent<br></div></font></span></div><br></div></div>
</blockquote></div><br></div></div>