develooper Front page | perl.perl6.language.mlc | Postings from August 2000

Re: why not just use C /* ... */ ?

Thread Previous | Thread Next
David L. Nicol
August 23, 2000 10:11
Re: why not just use C /* ... */ ?
Message ID:

> If the prime argument for mlc is commenting out large blocks of code
> then you'd better solve the nesting problem -- and do it well.

vi substitution 

:.,+20s/^/##obsoleted Aug 22, 2000 ## /

works really well for the large blocks of code problem, so do




and its proposed regularizaion into the obviously parseable



which would not throw bothersome warnings.

However, if we are going to (as I would like to) allow the inclusion
of unmodified C and C++ header files to be included into Perl6 to define
structures and parameter lists and return value declarations, we're going
to need to filter out not only /* these */ but //these as well.

Many languages have a profusion of commenting syntaces, clipper had many,
the configuration files for bind allow lots of different comment styles too.

I don't think anyone is suggesting that leading # be thrown out.

                          David Nicol 816.235.1187
       My argument is the result of selectively breeding straw men

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About