Re: S05: Interpolated hashes?

2006-04-24 Thread jerry gay
On 4/24/06, Larry Wall [EMAIL PROTECTED] wrote: If you want to reset to before the key for some reason, you can always set .pos to $KEY.beg, or whatever the name of the method is. Hmm, that looks like it's unspecced. BEGIN .beg looks over-huffmanized to me. .begin is more natural to

[PATCH] S02 - add grammar / rule info to sigil list

2006-05-09 Thread jerry gay
i noticed a few things missing from the list of sigils. patch inline below. ~jerry Index: design/syn/S02.pod === --- design/syn/S02.pod (revision 9154) +++ design/syn/S02.pod (working copy) @@ -494,8 +494,8 @@ $ scalar @

the 'postfix:::' operator

2006-05-09 Thread jerry gay
that's postfix ::, as mentioned in the Names section of S02. snip There is no longer any special package hash such as %Foo::. Just subscript the package object itself as a hash object, the key of which is the variable name, including any sigil. The package object can be derived from a type name

Re: grammar: difference between rule, token and regex

2006-06-02 Thread jerry gay
On 6/2/06, Rene Hangstrup Møller [EMAIL PROTECTED] wrote: Hi I am toying around with Parrot and the compiler tools. The documenation of Perl 6 grammars that I have been able to find only describe rule. But the grammars in Parrot 0.4.4 for punie and APL use rule, token and regex elements. Can

Re: A note for test writers

2006-07-15 Thread jerry gay
On 7/15/06, Leopold Toetsch [EMAIL PROTECTED] wrote: Folks, Please always verify test results, don't use the Parrot output of the test as the expected output. If you are implementing a new feature, write the *test first*. Thanks, leo PS from r13305: @@ -1324,7 +1324,7 @@ set P2, 300

Re: S04 - forbidden coding-style

2006-07-25 Thread jerry gay
On 7/25/06, Thomas Wittek [EMAIL PROTECTED] wrote: Bearing that in mind, would the eye-socket-burning return $foo IF $something; really be so bad? Operators/reserved words should be lowercase. Period. ;) I think that this would heavily break consistency, annoying new users.

designing a test suite for multiple implementations

2006-08-11 Thread jerry gay
recently, perl 6 development has taken the form of a multi-method dispatch. that is, multiple implementations are under active development. this includes pugs (in haskell,) v6 (in perl5,) v6-Compiler (in perl6,) and perl6 (on parrot.) hopefully, each of these returns the same result, a

Re: designing a test suite for multiple implementations

2006-08-11 Thread jerry gay
On 8/11/06, Larry Wall [EMAIL PROTECTED] wrote: Just to avoid repeating some of the discussion, here's a link to #perl6: http://colabti.de/irclogger/irclogger_log/perl6?date=2006-08-07,Monsel=110#l193 The discussion goes on and off for most of the rest of the page, so you probably want to

Re: clarifying the spec for 'ref'

2006-08-25 Thread jerry gay
On 8/25/06, Trey Harris [EMAIL PROTECTED] wrote: In a message dated Fri, 25 Aug 2006, Mark J. Reed writes: I think the justification for Luke's POV is the number of operations each class provides. But my perspective agrees with Juerd - subclasses can remove functionality as well as adding

Re: Naming the method form of s///

2006-08-31 Thread jerry gay
On 8/31/06, Luke Palmer [EMAIL PROTECTED] wrote: On 8/31/06, Juerd [EMAIL PROTECTED] wrote: Still, though, How would you specify :g? It doesn't make a lot of sense on rx// -- just like you can't use it with qr// in Perl 5. It is a good point that it doesn't belong on the regex. Perhaps:

Re: Nested statement modifiers.

2006-09-01 Thread jerry gay
On 9/1/06, Trey Harris [EMAIL PROTECTED] wrote: In a message dated Fri, 1 Sep 2006, Paul Seamons writes: I'm not sure if I have seen this requested or discussed. This was definitively rejected by Larry in 2002: http://www.nntp.perl.org/group/perl.perl6.language/9343 He has not revisited the

Re: Don't tell me what I can't do!

2006-10-02 Thread jerry gay
On 10/2/06, Jonathan Lang [EMAIL PROTECTED] wrote: I'm not used to programming styles where a programmer intentionally and explicitly forbids the use of otherwise perfectly legal code. Is there really a market for this sort of thing? use strict;

Re: Don't tell me what I can't do!

2006-10-02 Thread jerry gay
On 10/2/06, Aaron Sherman [EMAIL PROTECTED] wrote: Jonathan Lang wrote: I'm not used to programming styles where a programmer intentionally and explicitly forbids the use of otherwise perfectly legal code. Is there really a market for this sort of thing? use strict; you're so twelve

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

2007-01-07 Thread jerry gay
On 1/7/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: +Matching against a CGrammar object will call the Ctop method +defined in the grammar. The Ctop method may either be a rule +itself, or may call the actual top rule automatically. How the +CGrammar determines the top rule is up to the

Re: Synopsis 26

2007-03-18 Thread jerry gay
On 3/18/07, Thom Boyer [EMAIL PROTECTED] wrote: I never could find the Pod-to-XHTML'd version of S26 -- the document attached to that email was S26.pod6, not S26.xhtml. I don't want to bug Damian, because obviously he has enough of life happening, as it were. But is the XHTML'd version of S26

Re: Web Module (Was: Perl6 new features)

2007-06-22 Thread jerry gay
On 6/22/07, Chas Owens [EMAIL PROTECTED] wrote: Most of the time the policy is enacted by lower-case-l lazy sysadmins who can't be bothered to type perl -MCPAN -e install Foo::Bar My normal route around them is to install the module into the home directory of the user who is going to run the

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

2007-09-06 Thread jerry gay
On 9/6/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: @@ -1254,6 +1273,17 @@ =item * +A leading C? indicates a positive zero-width assertion, and like C! +merely reparses the rest of the assertion recursively as if the C? +were not there. In addition to forcing zero-width, it also

Parrot 0.4.16 Released

2007-09-18 Thread jerry gay
On behalf of the Parrot team, I'm proud to announce Parrot 0.4.16, A Farewell to Alex. Parrot (http://parrotcode.org/) is a virtual machine aimed at running all dynamic languages. Parrot 0.4.16 can be obtained via CPAN (soon), or follow the download instructions at

Re: Nomenclature Question - BEGIN etc.

2008-04-10 Thread jerry gay
On Wed, Apr 9, 2008 at 10:31 PM, John M. Dlugosz [EMAIL PROTECTED] wrote: Consider the words that may be used to introduce a block for a special purpose, like BEGIN END INIT CATCH etc. What do you call those? They are not even special named blocks because that is not the block

Re: failure notice

2008-04-10 Thread jerry gay
On Thu, Apr 10, 2008 at 11:23 AM, Larry Wall [EMAIL PROTECTED] wrote: On a larger question, I'm wondering if it's time to slush/freeze the Synopses as historical documents and put all spec effort into the new form (presumably as a wiki that knows how to serialize into a document). I don't

Parrot 0.6.1 Bird of Paradise Released

2008-04-15 Thread jerry gay
Aloha! On behalf of the Parrot team, I'm proud to announce Parrot 0.6.1 Bird of Paradise. Parrot (http://parrotcode.org/) is a virtual machine aimed at running all dynamic languages. Parrot 0.6.1 can be obtained via CPAN (soon), or follow the download instructions at

Re: step size of nums

2008-07-10 Thread jerry gay
2008/7/10 TSa [EMAIL PROTECTED]: HaloO, Larry Wall wrote: Well, maybe 0 .. 10-ε or some such. This ε there is what I have as the .step method of nums in the thread The Inf type. That is $min..^$max is the same as $min..($max-$max.step). For Ints the .step is always 1. For Nums it depends

Re: Catching exceptions with the // operator

2008-08-06 Thread jerry gay
On Wed, Aug 6, 2008 at 8:58 AM, Yaakov Belch [EMAIL PROTECTED] wrote: In a little language that I wrote some time ago, I found it very useful to let the // operator catch exceptions: f(x) // g(y) does: * If f(x) returns a defined value, use this value. * If f(x) returns an undefined value,

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

2008-08-08 Thread jerry gay
On Fri, Aug 8, 2008 at 12:57 PM, Jon Lang [EMAIL PROTECTED] wrote: But are 'twas and -x valid identifiers? IMHO, they should not be. no, indeed they are not, because they don't start with underscore or alpha. that's why they won't work. ~jerry

Parrot 0.8.0, Pareto Principle released

2008-10-24 Thread jerry gay
On behalf of the Parrot team, I'm proud to announce Parrot 0.8.0 Pareto Principle. Parrot (http://parrotcode.org/) is a virtual machine aimed at running all dynamic languages. Parrot 0.8.0 is available via CPAN, or follow the download instructions at http://parrotcode.org/source.html. For those

Re: Parrot 0.8.0, Pareto Principle released

2008-10-24 Thread jerry gay
/08, Elyse M. Grasso [EMAIL PROTECTED] wrote: On Friday 24 October 2008, jerry gay wrote: On behalf of the Parrot team, I'm proud to announce Parrot 0.8.0 Pareto Principle. Parrot (http://parrotcode.org/) is a virtual machine aimed at running all dynamic languages. After an svn update

Re: 6PAN Spec question

2008-12-18 Thread jerry gay
On Thu, Dec 18, 2008 at 05:45, Mark Overmeer m...@overmeer.net wrote: * Daniel Ruoso (dan...@ruoso.com) [081218 13:39]: Em Qui, 2008-12-18 às 13:08 +1100, Timothy S. Nelson escreveu: My question is, what sort of information actually belongs in a final version of the 6PAN spec? I'm

Re: Perl6's RE(P)L

2008-12-18 Thread jerry gay
On Wed, Dec 17, 2008 at 11:51, Moritz Lenz mor...@faui2k3.org wrote: Since Perl 5 has no REPL, I'm not sure where such a spec would go. S20, maybe, since the debugger is the closest thing? or maybe S19, because it defines the console interface to the rest of the world. Or just pick a

Re: r24711 - docs/Perl6/Spec

2009-01-02 Thread jerry gay
On Thu, Jan 1, 2009 at 03:30, Darren Duncan dar...@darrenduncan.net wrote: pugs-comm...@feather.perl6.nl wrote: --name :name --name=value:namevalue --name=spacy value:name«'spacy value'» --name='spacy value':name«'spacy

Re: r24737 - docs/Perl6/Spec

2009-01-02 Thread jerry gay
On Fri, Jan 2, 2009 at 09:27, Geoffrey Broadwell ge...@broadwell.org wrote: On Fri, 2009-01-02 at 17:08 +0100, pugs-comm...@feather.perl6.nl wrote: +=head2 Synopsis + + multi sub perl6( +Bool :a($autosplit), +Bool :c($check-syntax), +Bool :$doc, +:e($execute), +

Re: r24737 - docs/Perl6/Spec

2009-01-02 Thread jerry gay
On Fri, Jan 2, 2009 at 11:24, Geoffrey Broadwell ge...@broadwell.org wrote: Thank you for the quick turnaround! On Fri, 2009-01-02 at 10:55 -0800, jerry gay wrote: On Fri, Jan 2, 2009 at 09:27, Geoffrey Broadwell ge...@broadwell.org wrote: It's also not obvious what a boolean named $doc

Re: r24846 - docs/Perl6/Spec

2009-01-09 Thread jerry gay
On Fri, Jan 9, 2009 at 13:16, Eirik Berg Hanssen eirik-berg.hans...@allverden.no wrote: pugs-comm...@feather.perl6.nl writes: +C--prelude=Perl6-autoloop-no-print. Since eager matching is used, if you +need to pass something like: + ++foo -bar ++foo baz ++/foo ++/foo +you'll end up with

Re: r24846 - docs/Perl6/Spec

2009-01-09 Thread jerry gay
On Fri, Jan 9, 2009 at 14:26, Eirik Berg Hanssen eirik-berg.hans...@allverden.no wrote: jerry gay jerry@gmail.com writes: On Fri, Jan 9, 2009 at 13:16, Eirik Berg Hanssen eirik-berg.hans...@allverden.no wrote: That doesn't look very eager to me. it's eager for the match to close, which

Re: RFD: Built-in testing

2009-01-22 Thread jerry gay
On Thu, Jan 22, 2009 at 09:22, Moritz Lenz mor...@faui2k3.org wrote: Richard Hainsworth wrote: But it is interesting to think about the case where a user wants two different diagnostic test messages (to all the testing gurus out there: do you actually want such a feature?). It shouldn't be too

Re: RFD: Built-in testing

2009-01-23 Thread jerry gay
On Fri, Jan 23, 2009 at 12:37, Dave Whipp d...@dave.whipp.name wrote: I could also imagine writing code that reads from an Sqlite database, and imposes that info onto the test. Whatever mechanism is used, I think we need a language-defined mechanism to supply a stable unique identifier for each

Re: Google's Summer of Code 2009

2009-03-01 Thread jerry gay
On Sun, Mar 1, 2009 at 17:26, Hinrik Örn Sigurðsson hinrik@gmail.com wrote: Google has announced this year's Summer of Code[1]. The Perl Foundation accepted one project (mentored by Moritz) related to Perl 6 last year[2]. I was wondering if there are any developers interested in mentoring

Re: r25745 - docs/Perl6/Spec

2009-03-09 Thread jerry gay
On Mon, Mar 9, 2009 at 10:16, Patrick R. Michaud pmich...@pobox.com wrote: On Sun, Mar 08, 2009 at 09:43:17AM +0100, pugs-comm...@feather.perl6.nl wrote: =item * ws Match whitespace between tokens. =item * space Match a single whitespace character. Hence C ws is equivalent to C space+

Re: Logo considerations

2009-03-23 Thread jerry gay
On Mon, Mar 23, 2009 at 09:22, Richard Hainsworth rich...@rusrating.ru wrote: Hats off to the designer of the gimel symbol - the associations with anarchy are probably right for perl6. But to be honest, a letter didnt quite inspire me. Since, I dont want to criticize without providing other

Re: S26 - The Next Generation

2009-08-19 Thread jerry gay
On Wed, Aug 19, 2009 at 11:03, Kyle Hasselbacherkyl...@gmail.com wrote: Perl 5 programmers are sometimes surprised to find that 'perl -c strange.pl' can execute code.  Imagine their surprise to find that 'perl6doc' does too. this is why it's spelled 'perl6 --doc', which should give you some

Parrot 1.6.0, half-pie Released!

2009-09-15 Thread jerry gay
On behalf of the Parrot team, I'm proud to announce Parrot 1.6.0 half-pie. Parrot (http://parrot.org/) is a virtual machine aimed at running all dynamic languages. Parrot 1.6.0 is available on Parrot's FTP site, or follow the download instructions at http://parrot.org/download. For those who

Announce: Rakudo Perl 6 development release #21 (Seattle)

2009-09-17 Thread jerry gay
On behalf of the Rakudo development team, I'm pleased to announce the September 2009 development release of Rakudo Perl #21 Seattle. Rakudo is an implementation of Perl 6 on the Parrot Virtual Machine [1]. The tarball for the September 2009 release is available from

Re: r29129 - docs/Perl6/Spec

2009-11-19 Thread jerry gay
On Thu, Nov 19, 2009 at 08:17, Thom Boyer t...@boyers.org wrote: I'm curious about the change from blorst to blast. I quickly figured out that blorst was derived from BLock OR STatement (as S04 used to say: In fact, most of these phasers will take either a block or a statement (known as a

Re: Command-line args (weekly contribution to P6)

2010-05-26 Thread jerry gay
On Wed, May 26, 2010 at 00:53, Moritz Lenz mor...@faui2k3.org wrote: The spec doesn't elaborate on how the short args are specified in the signature of MAIN. I see two possible approaches (that don't contradict): 1) one renames them in the signature, so it would like sub MAIN(:name(:$n))

Re: Radix (base) conversion

2010-07-23 Thread jerry gay
On Fri, Jul 23, 2010 at 05:17, Jan Ingvoldstad frett...@gmail.com wrote: Hi. I was fiddling about with a small example of how nice radix adverbials are for conversion: my $x = 6*9; say :13($x); rakudo: 69 ($x = 54 in base 10, but 54 in base 13 is 69 in base 10.) Strangely enough, I

Re: Radix (base) conversion

2010-07-23 Thread jerry gay
On Fri, Jul 23, 2010 at 07:45, Mark J. Reed markjr...@gmail.com wrote: No, 42/13 is 42 over 13, which is 3 + 3/13.  Let's not confuse fractions and bases, please. ha! yet another case of crossed wires too early in the morning. sorry for the confusion, i've been making similar apologies all

Re: How are unrecognized options to built-in pod block types treated?

2010-08-04 Thread jerry gay
On Wed, Aug 4, 2010 at 15:56, Damian Conway dam...@conway.org wrote: Carl proposed: The other path that seems reasonable to me would be to use the same naming scheme as for the block types, i.e. reserve all-upper and all-lower forms (and die if an unrecognized one of this form is