[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: why a new lexical form?



> From: bear <bear@xxxxxxxxx>
> 
> Why do we actually need a new lexical form for comments?
> 
> Can't we just use a syntax definition and say
> 
> (Comment ...)
> 
> "expands" to nothing?

I sometimes use ' as a way to comment out multiline commands and
definitions.

However, it is more useful to be able to comment at the token level:

  (define stuff
    '(foo
      bar
  #| FIXME: These two cause crashes for some reason  -APP
      baz
      quux
  |#
      zork))

-al