<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
I think<br>
<br>
wxme-port->text-port<br>
<br>
<a class="moz-txt-link-freetext" href="http://docs.racket-lang.org/gui/WXME_Decoding.html?q=wxme&q=snip&q=snip#(def._((lib._wxme/main..rkt)._wxme-port-~3etext-port))">http://docs.racket-lang.org/gui/WXME_Decoding.html?q=wxme&q=snip&q=snip#(def._((lib._wxme/main..rkt)._wxme-port-~3etext-port))</a><br>
<br>
is what you want<br>
<br>
On 11/01/2010 10:25 AM, Adam Shaw wrote:
<blockquote
cite="mid:F767AC24-7FF2-4611-90F1-14DBFE7E0E82@cs.uchicago.edu"
type="cite">Hi all --
<div><br>
</div>
<div>I'm grading a lot of racket files this quarter. A question:
is there a widget to extract the text from a .rkt file?</div>
<div><br>
</div>
<div>In other words, we'd like less of this</div>
<div><br>
</div>
<div>
<blockquote type="cite">
<div><font class="Apple-style-span" face="Monaco">0 0 14 3 3
#"num"</font></div>
<div><font class="Apple-style-span" face="Monaco">0 0 22 3 1
#")"</font></div>
<div><font class="Apple-style-span" face="Monaco">0 0 128 3 1
#" "</font></div>
<div><font class="Apple-style-span" face="Monaco">0 0 14 3 3
#"num"</font></div>
<div><font class="Apple-style-span" face="Monaco">0 0 22 3 1
#"]"</font></div>
<div><font class="Apple-style-span" face="Monaco">0 0 128 29 1
#"\n"</font></div>
<div><font class="Apple-style-span" face="Monaco">0 0 128 3 4
#" "</font></div>
<div><font class="Apple-style-span" face="Monaco">0 0 22 3 1
#"["</font></div>
</blockquote>
<div><br>
</div>
<div>and more of this</div>
<div><br>
</div>
<div>
<blockquote type="cite"><font class="Apple-style-span"
face="Monaco">(if (foo x) y z)</font></blockquote>
</div>
<div><br>
</div>
<div>at least for grepping and other such occasional tasks.</div>
<div><br>
</div>
<div>Regards,</div>
<div><br>
</div>
<div>Adam</div>
<div><span class="Apple-style-span" style="font-family:
Helvetica;">
<div style="word-wrap: break-word;">
<div><br>
</div>
</div>
</span><br class="Apple-interchange-newline">
<br class="Apple-interchange-newline">
</div>
<br>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_________________________________________________
For list-related administrative tasks:
<a class="moz-txt-link-freetext" href="http://lists.racket-lang.org/listinfo/users">http://lists.racket-lang.org/listinfo/users</a></pre>
</blockquote>
<br>
</body>
</html>