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 e
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
: >
* 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 :
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
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.
* 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 S2
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.
>
>
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
...
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
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 th
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 chara
Perl6 could introduce (lexical, nestable) comment scope.
Has that been discussed before?
Maybe like:
#<<#EOC
# a comment line
# another comment line
#EOC
Or like:
#{#
# first comment line
# next comment line
# last comment line
#}#
Or P
12 matches
Mail list logo