<br><br>On Wednesday, September 14, 2011, Eli Barzilay &lt;<a href="mailto:eli@barzilay.org">eli@barzilay.org</a>&gt; wrote:<br>&gt; An hour ago, Shriram Krishnamurthi wrote:<br>&gt;&gt; Can&#39;t comment on option (b), but option (a) is what I was thinking<br>
&gt;&gt; of.<br>&gt;<br>&gt; Just to clarify (a) is a kind of a cheap way out: there&#39;s a facility<br>&gt; to shove random information into languages, so add one more bit.  The<br>&gt; (b) option is much more interesting in that the code can decide to<br>
&gt; report some extra stuff to render, and drr will listen and show it<br>&gt; when asked.<br>&gt;<br>&gt;<br>&gt;&gt; One thing is it&#39;d be nice to make these things &quot;work&quot; even in<br>&gt;&gt; textual mode (for shell/Emacs users) -- things like coverage<br>
&gt;&gt; coloring presumably just get ignored in that case, as opposed to the<br>&gt;&gt; code not running at all because of a MrEd dependency.<br>&gt;<br>&gt; It does work from the repl -- only needs someone enthusiastic enough<br>
&gt; to wire the information in some better looking way.  And it would be<br>&gt; really nice if someone makes check-syntax produce gui-independent<br>&gt; information that could be used elsewhere (like binding arrows<br>
&gt; appearing in the documentation).<br><br>Check syntax does this. I essetially had to add that as part of the online check stuff. <br><br>Robby<br><br><br>&gt;<br>&gt; | -&gt; ,cover /tmp/x<br>&gt; | #lang racket/base<br>
&gt; |<br>&gt; |<br>&gt; | (define (foo x)<br>&gt; |<br>&gt; |   (if (zero? x)<br>&gt; |<br>&gt; |       (+ x 10)<br>&gt; |       ^^^^^^^^<br>&gt; |       (* x 100)))<br>&gt; |<br>&gt; | (foo 10)<br>&gt; |<br>&gt;<br>&gt; --<br>
&gt;          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:<br>&gt;                    <a href="http://barzilay.org/">http://barzilay.org/</a>                   Maze is Life!<br>&gt;