[plt-scheme] Drscheme syntax highlighting and #;

From: Eli Barzilay (eli at barzilay.org)
Date: Sat Oct 6 21:09:11 EDT 2007

On Oct  5, Aleks Bromfield wrote:
> 
> > (BTW^2, and getting farther away -- symmetry freaks like me will
> > obviously suggest new concrete syntaxes for `quasicomment',
> > `uncomment', and `uncomment-splicing'.  I'm sure that everyone
> > will share my joy at the beautiful-but-completely-useless syntax.)
> 
> To the contrary, I think quasicomment and uncomment would be
> extremely useful. If I'm writing something like this:
> 
> (if complicated-expression a b)
> 
> and I'm trying to debug complicated-expression, I'd love to be able
> to say (with a better concrete syntax, obviously):
> 
> #;(if complicated-expression #{uncomment}a b)

FWIW, I realized that this is already available (in a similar way that
quasistrings are not needed) -- use

  #| ... |#

for comments, and

  |# ... #|

for escapes.  The only thing that is missing is a prefix-only
version...

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!


Posted on the users mailing list.