* 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
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
:
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
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
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
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
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
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
...
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
* 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),
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.
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
12 matches
Mail list logo