[sc34wg3] Multi-line comments in CTM

Lars Marius Garshol larsga at garshol.priv.no
Fri Jan 18 14:06:55 EST 2008


* Robert Barta
>
> /* this is /* also a comment */
> but is this still comment ? */

Modula-3 (or was it -2?) did this right by explicitly allowing them to  
be nested. I think (on my second beer here, so not sure) we did the  
same in LTM.

So at least that problem can be solved.

It also struck me that if we *do* want both single-line and multi-line  
comments, the obvious combination is these two:

   # single-line
   #( multi-line )#

--Lars M.



More information about the sc34wg3 mailing list