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 $.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 english

[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. 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 by us

S02: generalized quotes and adverbs

2006-05-09 Thread jerry gay
according to S02, under 'Literals', generalized quotes may now take adverbs. in that section is the following comment: [Conjectural: Ordinarily the colon is required on adverbs, but the "quote" declarator allows you to combine any of the existing adverbial forms above without an intervening colo

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 working[1]

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,Mon&sel=110#l193 The discussion goes on and off for most of the rest of the page, so you probably want

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 addi

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 t

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 twel

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 C object will call the C method +defined in the grammar. The C method may either be a rule +itself, or may call the actual top rule automatically. How the +C determines the top rule is up to the grammar, but normal +Per

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 S2

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

Parrot 0.4.14 "Now, with Seat Belts!" Released

2007-07-17 Thread jerry gay
On behalf of the Parrot team, I'm proud to announce Parrot 0.4.14 "Now, with Seat Belts!." Parrot (http://parrotcode.org/) is a virtual machine aimed at running all dynamic languages. Parrot 0.4.14 can be obtained via CPAN (soon), or follow the download instructions at http://parrotcode.org/sourc

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 su

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 http://parrotcode.org/source.h

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 no

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

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 http://parrotcode.org/sourc

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 Num

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 v

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
On 10/24/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

Re: 6PAN Spec question

2008-12-18 Thread jerry gay
On Thu, Dec 18, 2008 at 05:45, Mark Overmeer 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 assuming it wi

Re: Perl6's RE(P)L

2008-12-18 Thread jerry gay
On Wed, Dec 17, 2008 at 11:51, Moritz Lenz 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 not-yet-used number

Re: r24711 - docs/Perl6/Spec

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

Re: r24737 - docs/Perl6/Spec

2009-01-02 Thread jerry gay
On Fri, Jan 2, 2009 at 09:27, Geoffrey Broadwell 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), >> +:$execute

Re: r24737 - docs/Perl6/Spec

2009-01-02 Thread jerry gay
On Fri, Jan 2, 2009 at 11:24, Geoffrey Broadwell 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 wrote: >> > It's also not >> > obvious what a boolean n

Re: r24846 - docs/Perl6/Spec

2009-01-09 Thread jerry gay
On Fri, Jan 9, 2009 at 13:16, Eirik Berg Hanssen 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 >> + >> + %+OPTS

Re: r24846 - docs/Perl6/Spec

2009-01-09 Thread jerry gay
On Fri, Jan 9, 2009 at 14:26, Eirik Berg Hanssen wrote: > "jerry gay" writes: > >> On Fri, Jan 9, 2009 at 13:16, Eirik Berg Hanssen >> wrote: >>> That doesn't look very "eager" to me. >>> >> it's "eager"

Re: RFD: Built-in testing

2009-01-21 Thread jerry gay
On Wed, Jan 21, 2009 at 13:44, Ovid wrote: > - Original Message > >> From: Moritz Lenz > >> * the word 'is' is overloaded in Perl 6 >>* if we export subs is() and ok(), we clutter the >> namespace with subs with short names >>* is() is rather imprecise; it doesn't say *h

Re: RFD: Built-in testing

2009-01-22 Thread jerry gay
On Thu, Jan 22, 2009 at 09:22, Moritz Lenz 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 hard to do; >

Re: RFD: Built-in testing

2009-01-23 Thread jerry gay
On Fri, Jan 23, 2009 at 12:37, Dave Whipp 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 > test, so that i

Re: Question about testing perl6, rakudo or pugs online

2009-02-13 Thread jerry gay
On Thu, Feb 12, 2009 at 06:37, dev.null.box wrote: > Hi... > > I´m used to test oneliners on the perl6 irc channel when i´m at > home... But, at work, latetly i´m having lots of free time (this week > has been sooo boring). > > But, i have irc blocked at my office (and yes, i´ve tried alternative

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 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 students on Perl

Re: r25745 - docs/Perl6/Spec

2009-03-09 Thread jerry gay
On Mon, Mar 9, 2009 at 10:16, Patrick R. Michaud 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< > is equivalent to C< >> + >.

Re: Logo considerations

2009-03-23 Thread jerry gay
On Mon, Mar 23, 2009 at 09:22, Richard Hainsworth 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 ideas, here are > som

Re: %ARGH

2009-04-19 Thread jerry gay
On Sun, Apr 19, 2009 at 18:57, Timothy S. Nelson wrote: >        Hi all.  Can we change %*OPTS to %*ARGH ?  By analogy with @ARGS, but > a hash of args?  I've always used that, and kind of like the amusement > factor :). > > cute, but please, no. %*OPTS is descriptive and properly huffmanized. f

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

2009-08-11 Thread jerry gay
for the latest spec changes regarding this item, see http://perlcabal.org/svn/pugs/revision/?rev=27959. is everyone equally miserable now? ;) ~jerry

Re: S26 - The Next Generation

2009-08-19 Thread jerry gay
On Wed, Aug 19, 2009 at 11:03, Kyle Hasselbacher 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 hint that you'r

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 wo

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 http://github.com/rakudo/rakud

Re: r29129 - docs/Perl6/Spec

2009-11-19 Thread jerry gay
On Thu, Nov 19, 2009 at 08:17, Thom Boyer 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 I in

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

2010-05-26 Thread jerry gay
On Wed, May 26, 2010 at 00:53, Moritz Lenz 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)) > > then $n has

Re: Radix (base) conversion

2010-07-23 Thread jerry gay
On Fri, Jul 23, 2010 at 05:17, Jan Ingvoldstad 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 cannot f

Re: Radix (base) conversion

2010-07-23 Thread jerry gay
On Fri, Jul 23, 2010 at 07:45, Mark J. Reed 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 day. too bad i don'

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 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 >> encountered), and l