Arc Forumnew | comments | leaders | submitlogin
3 points by rocketnia 2906 days ago | link | parent

Arc's own codebase doesn't implement comments of any sort, but it relies on Racket's line comments, so those at least are reliable across Arc implementations.

  ; A line comment:
  ; foo bar baz
The Racket-based Arc implementations inherit Racket's other kinds of comments as well, which are documented here: http://docs.racket-lang.org/reference/reader.html#%28part._p...

  ; A multi-line comment (nestable):
  #|foo bar
     baz|#
  
  ; A commented-out s-expression:
  #;(foo bar
      baz)
  
  ; A commented-out s-expression which happens to be a string:
  #;"foo bar
      baz"
  
  ; A commented-out s-expression which happens to be a symbol:
  #;|foo bar
      baz|
  
  ; A shebang comment
  #! foo bar \
       baz


1 point by kinnard 2906 days ago | link

Thanks! Does this appear in Arc's documentation anywhere?

-----