Re: S26 - The Next Generation

2009-08-17 Thread Kyle Hasselbacher
On Sun, Aug 16, 2009 at 3:26 PM, Damian Conwaydam...@conway.org wrote:   * The DOC statement prefix constrains any block to which it is applied     (including BEGIN, CHECK, INIT and similar) to run only if -doc is     specified on the commandline   * You can tell if you're running under -doc

Re: Filename literals

2009-08-17 Thread Jon Lang
Timothy S. Nelson wrote: David Green wrote: Jon Lang wrote: If so, could you give some examples of how such a distinction could be beneficial, or of how the lack of such a distinction is problematic?        Well, my main thought in this context is that the stuff that can be done to the

Re: S26 - The Next Generation

2009-08-17 Thread Moritz Lenz
Damian Conway wrote: It's not yet committed, as there will (no doubt) be much discussion first. I apologize in advance: I am still travelling on my annual world tour, so my ability to participate in this discussion will be limited and erratic. In the spirit of ask for forgiveness rather than

Re: S26 - The Next Generation

2009-08-17 Thread raiph mellor
However it seems we have to pay a price: each act of rendering a Pod file actually means executing the program that's being documented (at least the BEGIN blocks and other stuff that happens at compile time), with all the security risks implied. So we'll need a *very* good sandbox. Is that

Re: S26 - The Next Generation

2009-08-17 Thread Brandon S. Allbery KF8NH
On Aug 17, 2009, at 14:27 , Moritz Lenz wrote: ll 99: followed by a valid identifierN A valid identifier is a sequence of alphanumerics and/or underscores, beginning with an alphabetic or underscore Is there a good reason to deviate from Perl 6's definition of an identifier?

Re: S26 - The Next Generation

2009-08-17 Thread Brandon S. Allbery KF8NH
On Aug 17, 2009, at 14:34 , raiph mellor wrote: However it seems we have to pay a price: each act of rendering a Pod file actually means executing the program that's being documented (at least the BEGIN blocks and other stuff that happens at compile time), with all the security risks implied. So

Re: S26 - The Next Generation

2009-08-17 Thread raiph mellor
Nonetheless, DOC INIT { system rm -rf . } (or etc.) would be unfortunate. Gotcha. Perhaps something like perl6 -DOC is needed to execute DOC blocks in the file passed on the command line and files it use's, whereas perl6 -doc only processes DOC blocks in the Setting or its use'd files, and

Re: S26 - The Next Generation

2009-08-17 Thread Moritz Lenz
raiph mellor wrote: However it seems we have to pay a price: each act of rendering a Pod file actually means executing the program that's being documented (at least the BEGIN blocks and other stuff that happens at compile time), with all the security risks implied. So we'll need a *very* good

Re: Filename literals

2009-08-17 Thread Troels Liebe Bentsen
Hey, Just joined the list, and I too have been thinking about a good path literal for Perl 6. Nice to see so many other people are thinking the same :). Not knowing where to start in this long thread, I will instead try to show how I would like a path literal to work. For me a path literal is a

Re: Filename literals

2009-08-17 Thread Jon Lang
Troels Liebe Bentsen wrote: Hey, Just joined the list, and I too have been thinking about a good path literal for Perl 6. Nice to see so many other people are thinking the same :). Welcome to the list! Not knowing where to start in this long thread, I will instead try to show how I would

Re: S26 - The Next Generation

2009-08-17 Thread Jon Lang
On Sun, Aug 16, 2009 at 1:26 PM, Damian Conwaydam...@conway.org wrote:   * This means Pod can be indented; the = is no longer tied to the     first column. The indentation preceding the opening = (using the     ($?TABSTOP // 8) rule, as for heredocs) now specifies the zeroth     column of the

Re: S26 - The Next Generation

2009-08-17 Thread Jon Lang
Could we also get =numbered and =term directives that are equivalent to =item :numbered and =item :term, respectively, for use with abbreviated blocks? E.g.: =numbered First Item =numbered Second Item =numbered Third Item =term First Name Definition =term Second Name

Re: Filename literals

2009-08-17 Thread Timothy S. Nelson
On Mon, 17 Aug 2009, Jon Lang wrote: Well, I definitely think there needs to be a class that combines the inside and the outside, or the data and the metadata.  Certainly the separate parts will exist separately for purposes of implementation, but there needs to be a user-friendlier view

Re: Embedded comments: two proposed solutions to the comment-whole-lines problem

2009-08-17 Thread Jon Lang
On Tue, Aug 11, 2009 at 12:42 PM, Jon Langdatawea...@gmail.com wrote: jerry gay wrote: for the latest spec changes regarding this item, see http://perlcabal.org/svn/pugs/revision/?rev=27959. is everyone equally miserable now? ;) Already seen it.  My latest points still stand, though:

Re: S26 - The Next Generation

2009-08-17 Thread David Green
On 2009-Aug-17, at 12:27 pm, Moritz Lenz wrote: However it seems we have to pay a price: each act of rendering a Pod file actually means executing the program that's being documented (at least the BEGIN blocks and other stuff that happens at compile time), with all the security risks implied. So