Is the scribble/comment-reader documented anywhere? I have been using code:comment to insert comments into schemeblock, but it doesn't allow me to use things like multiple comment characters (e.g., ;, ;;, or ;;;) depending on the level of comment, which I actually do in my code. This seems to solve that.<br>
<br><div class="gmail_quote">On Fri, Feb 13, 2009 at 4:06 PM, Matthias Felleisen <span dir="ltr"><<a href="mailto:matthias@ccs.neu.edu">matthias@ccs.neu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
@(begin #reader scribble/comment-reader<br>
(schemeblock<br>
;; teachpack: universe.ss<br>
<br>
;; WorldState is one of:<br>
;; -- Number %% representing the @emph{y} coordinate<br>
;; -- @scheme['resting]<br>
<br>
(define WORLD0 'resting)<br>
<br>
;; A WorldResult is one of:<br>
;; -- WorldState<br>
;; -- (make-package WorldState StopMessage)<br>
))<br>
<br>
(Eli must have changed this one.)<div><div></div><div class="Wj3C7c"><br>
<br>
<br>
<br>
On Feb 13, 2009, at 5:54 PM, Robby Findler wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
How do you use a schemeblock? Do you add comment lines in or something?<br>
<br>
Robby<br>
<br>
On Fri, Feb 13, 2009 at 4:49 PM, Matthias Felleisen<br>
<<a href="mailto:matthias@ccs.neu.edu" target="_blank">matthias@ccs.neu.edu</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
I am doing similar things, using schemeblock and a #reader. (I got the code<br>
from Eli or Matthew, and I copy and paste it where I go.)<br>
<br>
<br>
On Feb 13, 2009, at 5:46 PM, Robby Findler wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Is there a good way to typeset HtDP-style data definitions in<br>
Scribble? I've just been doing this:<br>
<br>
@verbatim[#<<---<br>
;; a state is either:<br>
;; - 'playing<br>
;; - 'cat-won<br>
;; - 'cat-lost<br>
---<br>
]<br>
<br>
@verbatim[#<<---<br>
;; a board is<br>
;; (listof cell)<br>
---<br>
]<br>
<br>
@verbatim[#<<---<br>
;; a cell is<br>
;; (make-cell (make-posn int[0-board-size]<br>
;; int[0-board-size])<br>
;; boolean)<br>
---<br>
]<br>
<br>
Robby<br>
_________________________________________________<br>
For list-related administrative tasks:<br>
<a href="http://list.cs.brown.edu/mailman/listinfo/plt-dev" target="_blank">http://list.cs.brown.edu/mailman/listinfo/plt-dev</a><br>
</blockquote>
<br>
<br>
</blockquote></blockquote>
<br>
_________________________________________________<br>
For list-related administrative tasks:<br>
<a href="http://list.cs.brown.edu/mailman/listinfo/plt-dev" target="_blank">http://list.cs.brown.edu/mailman/listinfo/plt-dev</a><br>
</div></div></blockquote></div><br>