[svn:perl6-synopsis] r12090 - doc/trunk/design/syn

2006-09-15 Thread larry
Author: larry Date: Fri Sep 15 18:48:48 2006 New Revision: 12090 Modified: doc/trunk/design/syn/S05.pod doc/trunk/design/syn/S06.pod doc/trunk/design/syn/S12.pod Log: repairing some splat damage Modified: doc/trunk/design/syn/S05.pod

Re: dashed identifiers (was Re: -X file test operators)

2006-09-15 Thread Darren Duncan
At 4:26 PM -0700 9/15/06, Larry Wall wrote: On Fri, Sep 15, 2006 at 03:27:40PM -0700, Darren Duncan wrote: : As I recall, we're allowed to put absolutely any characters we want : in an identifier if it is a delimited identifier rather than a : bareword identifier. I have no clue what you mean by

Re: dashed identifiers (was Re: -X file test operators)

2006-09-15 Thread Larry Wall
On Fri, Sep 15, 2006 at 03:27:40PM -0700, Darren Duncan wrote: : As I recall, we're allowed to put absolutely any characters we want : in an identifier if it is a delimited identifier rather than a : bareword identifier. I have no clue what you mean by 'delimited identifier'. Are you referring

Re: -X file test operators

2006-09-15 Thread Juerd
Jonathan Scott Duff skribis 2006-09-15 16:50 (-0500): > > > To which I already responded with 5: To write any prefix op as > > > postfix, you should put it in quotes, which gives us .'-e' and .'@' > > > and the like. (And also giving us a general way of isolating the > > > method name from the .*

Re: dashed identifiers (was Re: -X file test operators)

2006-09-15 Thread Darren Duncan
At 4:55 PM -0500 9/15/06, Jonathan Scott Duff wrote: On Fri, Sep 15, 2006 at 10:47:45PM +0200, Juerd wrote: So, we discussed making -e a real method, which would imply that > identifiers can begin with -. As a bit of a tangent, occasionally I wish that we could use - in identifiers instead o

dashed identifiers (was Re: -X file test operators)

2006-09-15 Thread Jonathan Scott Duff
On Fri, Sep 15, 2006 at 10:47:45PM +0200, Juerd wrote: > So, we discussed making -e a real method, which would imply that > identifiers can begin with -. As a bit of a tangent, occasionally I wish that we could use - in identifiers instead of _. I'd rather type $some-long-name than $some_long_na

Re: -X file test operators

2006-09-15 Thread Jonathan Scott Duff
On Fri, Sep 15, 2006 at 11:28:18PM +0200, Juerd wrote: > Larry Wall skribis 2006-09-15 14:03 (-0700): > > To which I already responded with 5: To write any prefix op as > > postfix, you should put it in quotes, which gives us .'-e' and .'@' > > and the like. (And also giving us a general way of is

Re: the CGI.pm in Perl 6

2006-09-15 Thread Juerd
Juerd skribis 2006-09-15 23:26 (+0200): > Randal L. Schwartz skribis 2006-09-15 9:15 (-0700): > > The thing that CGI.pm does is put in one place everything you need for a > > simple web form. And there's an amazing number of applications for > > this... putting a "contact us" page on an otherwise

Re: -X file test operators

2006-09-15 Thread Juerd
Larry Wall skribis 2006-09-15 14:03 (-0700): > To which I already responded with 5: To write any prefix op as > postfix, you should put it in quotes, which gives us .'-e' and .'@' > and the like. (And also giving us a general way of isolating the > method name from the .* variants, not to mention

Re: the CGI.pm in Perl 6

2006-09-15 Thread Juerd
Randal L. Schwartz skribis 2006-09-15 9:15 (-0700): > The thing that CGI.pm does is put in one place everything you need for a > simple web form. And there's an amazing number of applications for > this... putting a "contact us" page on an otherwise static site comes to mind > immediately. Yes,

Re: -X file test operators

2006-09-15 Thread Larry Wall
On Fri, Sep 15, 2006 at 10:47:45PM +0200, Juerd wrote: : 1. Get rid of it entirely. Normal methods and/or "use Shell" fill the gap. : 2. Install it as a prefix op, not as a postfix op. To get to $_, write :-e $_ explicitly. : 3. Install these as prefix ops, and as postfix ops, but not as a gene

Re: -X file test operators

2006-09-15 Thread Juerd
Aaron Sherman skribis 2006-09-15 15:28 (-0400): > I didn't see this going back, sorry if I missed someone sending the mail. Sorry. I promised to do it, but have so far lacked tuits and more or less forgot all about it. Thanks for bringing it up! > There was a discussion on IRC on Sept 9th about t

Re: the CGI.pm in Perl 6

2006-09-15 Thread Randal L. Schwartz
> "Andy" == Andy Dougherty <[EMAIL PROTECTED]> writes: Andy> On Wed, 13 Sep 2006, David Cantrell wrote: >> I wonder how many people really use the HTML-generating bits of CGI.pm? Andy> I'd guess a lot, since they are prominently documented in the CGI.pm Andy> documentation and are used exten

-X file test operators

2006-09-15 Thread Aaron Sherman
I didn't see this going back, sorry if I missed someone sending the mail. There was a discussion on IRC on Sept 9th about the -X filetest operators between at least audreyt, Juerd, myself and markstos. The problem with these operators was that they conflicted in some cases with the parsing of

Version PMC

2006-09-15 Thread Leopold Toetsch
Hi, Today I played a bit with calculating the 44th Mersenne prime, which is of course using BigInt's. I discovered that my installed GMP 4.1.1 segfaulted during multiplication (it was *not* a parrot problem ;). I compiled & installed a recent GMP version and all went fine. But: below [1] is the

Re: META vs meta

2006-09-15 Thread Aaron Sherman
David Brunton wrote: Aaron Sherman wrote: IMHO, the golden rule of programming languages should be: if you need a namespace, create one. Is there any reason these "meta" methods could not be part of some default function package like Math::Basic and Math::Trig? The package could be called

[svn:perl6-synopsis] r12006 - doc/trunk/design/syn

2006-09-15 Thread larry
Author: larry Date: Fri Sep 15 08:38:58 2006 New Revision: 12006 Modified: doc/trunk/design/syn/S04.pod Log: smartlinkable discussion of bindables on while and repeat while Modified: doc/trunk/design/syn/S04.pod == -

Re: HTTP::Request/Response (was Re: the CGI.pm in Perl 6)

2006-09-15 Thread Michael Snoyman
On 9/14/06, Darren Duncan <[EMAIL PROTECTED]> wrote: Having had some prior experience in tackling this problem (eg, CGI::Portable), I will endeavour to work on / help with the Perl 6 analogy to HTTP::Request/Response, so to replace the use of corresponding aspects of CGI.pm. I really like thi

Re: [perl #40292] [TODO] Add JSON tests

2006-09-15 Thread Will Coleda
Thanks, applied, with one minor tweak. On Sep 15, 2006, at 9:07 AM, Nuno Carvalho via RT wrote: Hi again, Sorry, there was a problem with the last diff. Here's the most updated patch, attached to this file, please igore the previous patch. Sorry again. Best regards, ./smash On 9/15/06, Nuno

Re: [perl #40292] [TODO] Add JSON tests

2006-09-15 Thread Nuno Carvalho
Hi again, Sorry, there was a problem with the last diff. Here's the most updated patch, attached to this file, please igore the previous patch. Sorry again. Best regards, ./smash On 9/15/06, Nuno Carvalho <[EMAIL PROTECTED]> wrote: Hi again, Added some more simple tests to file 't/compilers/j

Re: [perl #40292] [TODO] Add JSON tests

2006-09-15 Thread Nuno Carvalho
Hi again, Added some more simple tests to file 't/compilers/json/to_parrot.t' related to backslashing testing. All the new tests pass. Attached to this message you can find the patch file. Best regards, ./smash Index: t/compilers/json/to_parrot.t

Re: [TODO] fill Parrot_register_move() with code : new implementation

2006-09-15 Thread Leopold Toetsch
Am Donnerstag, 14. September 2006 02:54 schrieb Karl Forner: > Hello, > > So I propose a new implementation that solve the bugs, and that is linear > in space and time, and hopefully produce > an optimal list of moves. It is to be found in the second patch. Great. Applied as r14621. > We have two

Re: HOWTO give options to parrot in tests

2006-09-15 Thread Leopold Toetsch
Am Freitag, 15. September 2006 01:42 schrieb Karl Forner: > But by looking in other tests and in the Parrot::Test, it seems that the > canonical way > of running a PIR script is through the example_output_is() function. > BUT this function does not take any arguments for Parrot. I'd subclass Parro