Re: comment scope

2006-03-15 Thread Mark Overmeer
* Damian Conway ([EMAIL PROTECTED]) [060315 01:52]: That's why the general Perl 6 Pod syntax allows any block construct to be labelled: =begin comment (explanation) The devil made me write this code =end comment =begin comment (future implementation) Add a :devil

Re: comment scope

2006-03-15 Thread Larry Wall
On Wed, Mar 15, 2006 at 04:42:53PM +0100, Mark Overmeer wrote: : * Damian Conway ([EMAIL PROTECTED]) [060315 01:52]: : That's why the general Perl 6 Pod syntax allows any block construct to be : labelled: : : =begin comment (explanation) : The devil made me write this code :

Re: comment scope

2006-03-15 Thread Damian Conway
Mark wrote: : What about : : =comment explain : The devil made me write this code : : =comment future : Add a :devil option : : =comment design : See www.dev.il/design/S25.pod : : =comment etc. etc. : :-) In Perl 6 Pod, those are

comment scope

2006-03-14 Thread Ruud H.G. van Tol
Perl6 could introduce (lexical, nestable) comment scope. Has that been discussed before? Maybe like: ##EOC # a comment line # another comment line code #EOC Or like: #{# # first comment line # next comment line code # last comment line #}# Or POD-ish

Re: comment scope

2006-03-14 Thread David Green
On 3/14/06, Ruud H.G. van Tol wrote: Perl6 could introduce (lexical, nestable) comment scope. Has that been discussed before? I think someone might have mentioned it once. Officially you can use # or make arbitrary POD sections. But I'd like to make a new push for extra comment characters

Re: comment scope

2006-03-14 Thread Ruud H.G. van Tol
David Green wrote: Ruud H.G. van Tol: Perl6 could introduce (lexical, nestable) comment scope. Has that been discussed before? I think someone might have mentioned it once. Officially you can use # or make arbitrary POD sections. I don't think that covers what I mean. It was thinking about

Re: comment scope

2006-03-14 Thread Larry Wall
On Tue, Mar 14, 2006 at 06:36:22PM +0100, Ruud H.G. van Tol wrote: : Or POD-ish. Or POD-ish is what A2 proposes. I still like =begin FOO ... =end FOO Larry

Re: comment scope

2006-03-14 Thread Damian Conway
Larry wrote: On Tue, Mar 14, 2006 at 06:36:22PM +0100, Ruud H.G. van Tol wrote: : Or POD-ish. Or POD-ish is what A2 proposes. I still like =begin FOO ... =end FOO And I'm in the midst of writing S26 (Documentation), wherein I propose a standard: =begin comment ...

Re: comment scope

2006-03-14 Thread mark . a . biggar
Isn't this what POD is for? -- Mark Biggar [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] -- Original message -- From: Ruud H.G. van Tol [EMAIL PROTECTED] Perl6 could introduce (lexical, nestable) comment scope. Has that been discussed before

Re: comment scope

2006-03-14 Thread Mark Overmeer
* Damian Conway ([EMAIL PROTECTED]) [060314 23:03]: Larry wrote: On Tue, Mar 14, 2006 at 06:36:22PM +0100, Ruud H.G. van Tol wrote: : Or POD-ish. Or POD-ish is what A2 proposes. I still like =begin FOO ... =end FOO And I'm in the midst of writing S26 (Documentation),

Re: comment scope

2006-03-14 Thread Dave Whipp
Ruud H.G. van Tol wrote: Perl6 could introduce (lexical, nestable) comment scope. In P5 I often us q{...} in void context -- P6 seems to be attaching tags to the quote operator, so q:comment{...} might fall out naturally.

Re: comment scope

2006-03-14 Thread Damian Conway
Mark Overmeer wrote: Looking very much forward to it... as you know. But don't you think that the term comment is too general? The comment text has a purpose, for instance - comment to explain code - comment for future implementation ideas - references to design documents - etc etc