[chuck-users] feature request: block comments

Ge Wang gewang at CS.Princeton.EDU
Wed Oct 19 17:28:36 EDT 2005


/*

this form of block comments is now implemented.
now in CVS and will be in 1.2.0.3.  please give it a test.

- as in ANSI C, nesting is not allowed
- unlike in C, you don't have to close the comment block
   if you just want to comment out the rest of the file.
   (this is probably a bad idea - though as Perry says, ChucK is not...)

*/

Ge!

On Wed, 19 Oct 2005, Perry R Cook wrote:

> /* How about
> this for block comments ?
> */
>
> I know ChucK is not C (ChuC), but ...
>
> On Tue, 18 Oct 2005, Graham Percival wrote:
>
>> // instead of
>> // commenting out
>> // each line
>> // of part of
>> // your program
>> 
>> %{
>>    it would be really
>>    nice if we could use
>>    block comments
>>    to do it all at
>>    once.
>>    (although %{ %} might not be the best
>>    symbol to use)
>> %}
>> 
>> Cheers,
>> - Graham
>> 
>> _______________________________________________
>> chuck-users mailing list
>> chuck-users at lists.cs.princeton.edu
>> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
>> 
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
>


More information about the chuck-users mailing list