Email list hosting service & mailing list manager


Re: why a new lexical form? Al Petrofsky 05 Jun 2002 18:35 UTC

> From: bear <xxxxxx@sonic.net>
>
> 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