On Mon, Mar 02, 2009 at 08:33:16AM -0800, Carl Mäsak wrote:
> rakudo: rule w { . }; 'a' ~~ m//; for %($/).kv {}
> rakudo 50279c: RESULT«Method 'HOW' not found for invocant of
> class 'Iterator' [...]
While I agree that the error message is likely incorrect -- I'm not
sure what the intent of the
We're now putting together a revamped rakudo.org website that we
plan to be _the_ central location for information about Rakudo Perl,
and a lot of useful information about Perl 6 as well.
We're looking for people to contribute content and update pages --
see the "How to help" page at http://rakud
> Log:
> - Moved "defined" and "undefined" from Scalar.pod to Any.pod, as per
> signature
> ...
> +=item defined
> +
> + our Bool multi defined ( Any $thing )
> + our Bool multi defined ( Any $thing, ::role )
> + our Bool multi method defined ( Any $self)
> + our Bool multi method defined
On Sat, Mar 07, 2009 at 06:28:29PM -0800, Vasily Chekalkin wrote:
>
> std: my $c = &infix:; say &$c(5, 42);
> std 25744: OUTPUT«ok 00:03 48m»
> rakudo: my $c = &infix:; say &$c(5, 42);
> rakudo ed4cd1: OUTPUT«Statement not terminated properly at line
> 1, near ":; sa"current instr.: 'parro
On Sat, Mar 07, 2009 at 09:50:02PM -0800, Vasily Chekalkin wrote:
> +our List multi min(*...@values) {
> +my $by = @values[0] ~~ Code ?? shift @values !! sub { $^a cmp $^b };
> +@values.min($by);
> +}
This doesn't match the spec -- the $by parameter is required.
At any rate, the first argu
On Sun, Mar 08, 2009 at 08:15:32PM +0100, Moritz Lenz wrote:
> I hope I fixed both of your concerns with this commit:
> commit 051ad5115268e5415bebb1988cbf0b1be626156b
Yes, they look much better now. Thanks!
Pm
On Mon, Mar 09, 2009 at 02:43:40AM -0700, Carl Mäsak wrote:
> rakudo: my $x = { $_*2 }; say $x.arity
> rakudo 8bbc31: OUTPUT«0»
> that however is wrong
> * masak submits
>
> Expected result: 1. I'm not sure what it takes for a block to
> "recognize" that it has a $_ as an implicit parameter, t
On Sun, Mar 08, 2009 at 09:31:19PM -0700, Larry Wall wrote:
> On Sun, Mar 08, 2009 at 09:36:17PM +0100, Moritz Lenz wrote:
> : But both pugs and rakudo respect the arity of the code ref passed to it,
> : so that (1..6).map({$^a + $^b + $^c}) returns the list (6, 15), which is
> : very nice and very
On Fri, Mar 06, 2009 at 01:37:16PM +1100, Timothy S. Nelson wrote:
> I guess the way I decide things like this is:
> - If it's a method on a role/object, then it lives in S32
> - If it's not a method, then it lives in S29
Do we have many things that aren't methods?
>> * Should t
> 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<
> + >.
The definitions of and above are incorrect, or at least
mislea
On Mon, Mar 09, 2009 at 10:32:02AM -0700, jerry gay wrote:
> > To make things a bit quicker for people writing custom versions of
> > (which may need to include "comment whitespace"), the Parrot
> > Compiler Toolkit also provides an optimized rule that matches
> > only between a pair of word char
On Mon, Mar 09, 2009 at 10:53:12AM -0700, Larry Wall wrote:
> : - PGE doesn't implement by default, because that's not (yet?)
> : part of the spec. It only appears in PCT::Grammar, for people
> : using the Parrot Compiler Toolkit to create languages.
>
> I have wanted a number of times, par
On Tue, Mar 10, 2009 at 09:02:08AM -0500, Jonathan Scott Duff wrote:
> On Tue, Mar 10, 2009 at 08:40:12AM -, Rafael Garcia-Suarez wrote:
> > Moritz Lenz wrote in perl.perl6.compiler :
> > > Hi,
> > >
> > > fREW Schmidt wrote:
> > >> I just threw together a workflow for git with rakudo (
> > >>
On Tue, Mar 10, 2009 at 03:40:20AM -0700, Vasily Chekalkin wrote:
> +multi method reduce(Code $expression) {
> +my Int $arity = $expression.count;
> +die('Cannot reduce() using a unary or nullary function.') if $arity
> < 2;
> +
> +my $list := @.list or fail('Cannot red
For those who are interested in adding some of the Perl 6
builtins to Rakudo's core settings files -- I've created
a wiki page that lists some prime candidates that I think
ought to be relatively easy to convert (perhaps using inline PIR).
http://wiki.github.com/rakudo/rakudo/setting-candidates
S
On Tue, Mar 10, 2009 at 12:46:29PM -0500, Jonathan Scott Duff wrote:
> For those who are interested in adding some of the Perl 6
> builtins to Rakudo's core settings files -- I've created
> a wiki page that lists some prime candidates that I think
> ought to be relatively easy to co
On Thu, Mar 12, 2009 at 01:42:47AM -0700, Matthew Walton wrote:
> Run this:
>
> grammar G {
> regex TOP { 'a' {*} }
> }
> class GA {
> method TOP($m) { make GA.new }
> }
>
> G.parse('a', :action(GA.new));
>
>
> And this happens:
>
> rakudo ea3283: OUTPUT«Method 'result_object' not found fo
On Wed, Mar 11, 2009 at 07:49:16PM -0700, Cory Spencer wrote:
+our Str multi method lcfirst is export {
+self ?? self.substr(0,1).lc ~ self.substr(1) !! ""
+}
+
+our Str multi method ucfirst is export {
+self ?? self.substr(0,1).uc ~ self.substr(1) !! ""
+}
We need
The "pynie" compiler (Python on Parrot) has now moved out of
the Parrot repository into its own repository at
http://pynie.googlecode.com/ .
I'll be updating the README and other documentation items
in the repository over the next few days. If other people
would like commit access to the repo, pl
On Fri, Dec 28, 2007 at 07:11:23PM -0800, chromatic wrote:
> On Friday 28 December 2007 16:16:55 Patrick R.Michaud wrote:
>
> > Whenever a PAST::Op node gets a non-PAST child, PCT currently
> > throws a cryptic exception message like:
> >
> > Method 'named' not found for invocant of class 'Perl6::
On Sat, Dec 29, 2007 at 12:04:09PM +0200, Allison Randal wrote:
> Patrick R.Michaud (via RT) wrote:
> >
> >Whenever a PAST::Op node gets a non-PAST child, PCT currently
> >throws a cryptic exception message like:
> >
> >Method 'named' not found for invocant of class 'Perl6::Grammar'
> >
> >A better
On Sat, Dec 29, 2007 at 11:29:46AM +0200, Allison Randal wrote:
> Patrick R.Michaud (via RT) wrote:
> >* add some smarts to Parrot to allow it to search/execute .pbc files
> > in some standard locations (RT#47992)
>
> We certainly need to allow configurable search paths (at runtime and
> compile
On Sat, Dec 29, 2007 at 12:13:19PM -0800, chromatic wrote:
> On Saturday 29 December 2007 01:29:46 Allison Randal wrote:
>
> > > * convert perl6.pbc into a C executable
>
> > Possible, but ultimately too constraining. There are significant
> > advantages to having the full Parrot runtime environm
On Mon, Dec 31, 2007 at 11:17:53PM +0300, Richard Hainsworth wrote:
> Not sure whether this should be p6-lan or p6-users. Posted to p6l only.
Since the question is specific to perl6 and Parrot, it probably
belongs on perl6-compiler. But I'll answer it here for now,
as it may spark a language rela
I'm working on S03 tests, and S03 says:
Perl 6 also supports Str decrement with similar semantics,
simply by running the cycles the other direction. However,
leftmost characters are never removed, and the decrement
fails when you reach a string like "aaa" or "000".
Is this "fail
On Wed, Jan 02, 2008 at 09:58:21AM +0100, Paul Cochrane wrote:
> I've been seeing this problem off and on for over a month. As you've
> noticed, it's rather intermittent, however, when the problem occurs it
> persists for up to couple of hours. I've also seen that this is
> platform independent,
On Wed, Jan 02, 2008 at 08:52:09AM -0800, Larry Wall wrote:
> On Tue, Jan 01, 2008 at 04:26:29PM -0600, Patrick R. Michaud wrote:
> : I'm working on S03 tests, and S03 says:
> :
> : Perl 6 also supports Str decrement with similar semantics,
> : simply by running
On Tue, Jan 01, 2008 at 11:15:57PM -0800, Andy Lester wrote:
> # http://rt.perl.org/rt3/Ticket/Display.html?id=49296 >
>
> perl6 -e"say 'hello world'" should work.
Oddly(?), the question of standard options to Perl 6 implementations
also came up in today's Perl 6 design meeting. I believe Larry
On Tue, Jan 01, 2008 at 11:15:07PM -0800, Andy Lester wrote:
> # http://rt.perl.org/rt3/Ticket/Display.html?id=49292 >
> The -h should provide a list of help.
See also the comments about Perl 6 standard command line options
in RT#49296.
Pm
On Tue, Jan 01, 2008 at 11:15:34PM -0800, Andy Lester wrote:
> # New Ticket Created by Andy Lester
> # Please include the string: [perl #49294]
> # in the subject line of all future correspondence about this issue.
> # http://rt.perl.org/rt3/Ticket/Display.html?id=49294 >
>
> perl6 -v should p
On Thu, Jan 03, 2008 at 12:39:54PM -0800, chromatic wrote:
> On Thursday 03 January 2008 12:05:48 [EMAIL PROTECTED] wrote:
> > -# Copyright (c) 2007, The Perl Foundation
> > +# Copyright (C) 2001-2008, The Perl Foundation.
> > # $Id$
>
> I'm not sure this is legal. Certainly TPF holds a copyrigh
On Thu, Jan 03, 2008 at 09:40:23PM -0500, Bob Rogers wrote:
>From: "Patrick R. Michaud via RT" <[EMAIL PROTECTED]>
>Date: Wed, 02 Jan 2008 22:29:35 -0800
>
>On Wed Jun 20 16:23:40 2007, pmichaud wrote:
>> On Thu, Jun 21, 2007 at 12:08:33AM
On Fri, Jan 04, 2008 at 12:55:19AM -0600, Andy Lester wrote:
> http://use.perl.org/~pmichaud/journal/35272
> http://perlbuzz.com/2008/01/flurry-of-perl-6-activity-picks-up-new-contributor.html
>
> Lots of cool stuff is going on, and I'm so so glad to see it. I'm
> thinking of making a Perl 6-sp
On Fri, Jan 04, 2008 at 07:43:18PM -0800, chromatic wrote:
> I just ran a little experiment. I patched Parrot::HLLCompiler to transcode
> the source code it reads to UCS-2 before parsing and compiling it, then I
> profiled building perl6.pbc.
>
> Without this hack, the build takes around 20 sec
On Sat, Jan 05, 2008 at 12:29:40AM -0600, Patrick R. Michaud wrote:
> On Fri, Jan 04, 2008 at 07:43:18PM -0800, chromatic wrote:
> > (Callgrind suggests that about 45% of the running time of
> > the NQP part of the build comes from utf8_set_position
> > and utf8_skip_forwa
On Sat, Jan 05, 2008 at 01:09:01AM -0600, Patrick R. Michaud wrote:
> On Sat, Jan 05, 2008 at 12:29:40AM -0600, Patrick R. Michaud wrote:
> > On Fri, Jan 04, 2008 at 07:43:18PM -0800, chromatic wrote:
> > > (Callgrind suggests that about 45% of the running time of
> > >
On Sat, Jan 05, 2008 at 12:17:00PM +0100, Cosimo Streppone wrote:
> Patrick wrote:
> >
> >[...] I also improved utf8_set_position
> >a bit so that it doesn't always have to restart position
> >counting from the beginning of the string. As a result,
> >compiling the actions.pl script on my machine
On Sat, Jan 05, 2008 at 02:11:35AM -0800, chromatic wrote:
> On Saturday 05 January 2008 01:26:48 Patrick R. Michaud wrote:
>
> > As of r24557 I've rewritten find_cclass and find_not_cclass
> > so that they use a string iterator instead of repeated calls
> > to EN
On Sat, Jan 05, 2008 at 11:09:57AM +, Nicholas Clark wrote:
> On Sat, Jan 05, 2008 at 02:11:35AM -0800, chromatic wrote:
> > On Saturday 05 January 2008 01:26:48 Patrick R. Michaud wrote:
>
> > > I think it will still be worthwhile to investigate
> > > convert
On Sat, Jan 12, 2008 at 08:57:11AM -0800, Cosimo Streppone wrote:
> # New Ticket Created by Cosimo Streppone
> # Please include the string: [perl #49714]
> # in the subject line of all future correspondence about this issue.
> # http://rt.perl.org/rt3/Ticket/Display.html?id=49714 >
>
>
> This
On Sat, Jan 12, 2008 at 11:29:03PM -0500, Bob Rogers wrote:
>From: Matisse Enzer <[EMAIL PROTECTED]>
>Date: Sat, 12 Jan 2008 20:20:12 -0800
>
>Where would people here want to see buildot status messages go?
>Personally, I'm not a parrot developer, so I don't have a strong
>op
On Sun, Jan 13, 2008 at 10:54:57AM +0100, Cosimo Streppone wrote:
> I had discussed the [S29/subdir/*.t] structure with
> particle over irc, but probably I misunderstood.
>
> So I'd better change these tests to something like:
>
> t/spec/S29-str/chomp.t
> t/spec/S29-str/p5chomp.t
> ...
>
On Sun, Jan 13, 2008 at 02:43:24PM -0500, Andy Dougherty wrote:
> Please also verify that you want to publicly announce the name of the
> executable as 'perl6'. I recall there was some question about that too,
> though I wasn't involved in any of it, so I don't know where it stands at
> the mome
On Sun, Jan 13, 2008 at 11:35:17PM +0100, Cosimo Streppone wrote:
> - Are smartlinks "stackable?"
> That is, can I refer the same code to multiple links?
> http://perlsix.org/svn/pugs/revision?rev=19471
According to the documentation in smartlinks.pl, they are.
See http://svn.pugscode.org/pugs
On Tue, Jan 15, 2008 at 11:16:57PM -0800, Larry Wall wrote:
> On Sun, Jan 13, 2008 at 11:22:44PM -0600, Patrick R. Michaud wrote:
> : Larry, Jerry, and I discussed this a couple of weeks ago
> : and here's my vision for how it should work. To simplify
> : things, let's b
On Thu, Jan 17, 2008 at 01:18:32PM -0800, [EMAIL PROTECTED] wrote:
> +=item *
> +
> +The definition of C<.true> for the most ancestral type (that is, the
> +C type) is equivalent to C<.defined>.
Would we normally consider prefix: to be defined in terms of
C<.true>, or vice versa? Is there a pre
On Thu, Jan 17, 2008 at 05:36:43PM -0800, Larry Wall wrote:
> On Thu, Jan 17, 2008 at 12:34:23PM -0800, Ævar Arnfjörð Bjarmason via RT
> wrote:
>
> : Index: src/parser/grammar.pg
> : ===
> : --- src/parser/grammar.pg (revision 2490
On Fri, Jan 18, 2008 at 09:41:01PM -0800, Geoffrey Broadwell wrote:
> The error message from parrot when there is a spelling mismatch between
> a function call and the function's actual declaration is accurate but
> confusing:
>
> *
> $ cat > foob.pir
> .sub main :main
> foo()
> .end
>
>
On Sun, Jan 20, 2008 at 03:06:34PM -0800, jerry gay wrote:
>
> looks to me like the 'clean' target in the makefile should delete the
> t/spec directory (it doesn't currently.)
I don't think that 'make clean' should remove t/spec. Because we now
grab t/spec via 'svn co', someone might have local
On Sun, Jan 20, 2008 at 04:36:37PM -0800, [EMAIL PROTECTED] wrote:
> Modified: trunk/languages/perl6/src/builtins/list.pir
> [...]
> Modified: trunk/languages/perl6/src/classes/List.pir
FWIW, I think that the both the method version and the global
subroutine wrapper should be placed in classes/Lis
On Sun, Jan 20, 2008 at 03:34:33PM -0800, [EMAIL PROTECTED] wrote:
> test = exists self[ind]
> if test == 0 goto false
>true:
> res = get_hll_global ['Bool'], 'True'
> goto done
>false:
> res = get_hll_global ['Bool'], 'False'
> goto done
>done:
> .ret
[Oops, I meant this to go to perl6-compiler. --Pm]
On Sun, Jan 20, 2008 at 01:33:30PM -0800, [EMAIL PROTECTED] wrote:
> +.sub keys :multi('List')
> + .param pmc list
> + .local pmc res
> +
> + res = list.'keys'()
> +
> + .return(res)
> +.end
Better is to use a tailcall:
.sub 'keys' :mul
On Sat, Jan 19, 2008 at 12:24:37PM +0100, Klaas-Jan Stol wrote:
> as far as I could tell there's no support for goto statements in PCT (that
> is, special nodes or something).
> I don't know whether there are any plans to add special support for it, but
> here's an idea I was thinking about. It wou
On Thu, Jan 24, 2008 at 11:58:02AM -0500, Mark J. Reed wrote:
> Sorry if I'm missing something here, since I haven't dived into the
> innards of Parrot, but I thought control flow in Parrot was based on
> continuations? Presumably 'control exceptions' are really just
> lexicaly-scoped exceptions,
On Sat, Jan 26, 2008 at 08:58:43AM -0800, Larry Wall wrote:
> After a recent exchange on PerlMonks about join, I've been thinking
> about the problem of pluralization in interpolated strings, where we
> get things like:
>
> say "Received $m message{ 1==$m ?? '' !! 's' }."
>
> My first thought
On Wed, Feb 06, 2008 at 03:33:14PM +0100, Klaas-Jan Stol wrote:
> function foo()
>
> local a = 2
>
> function bar()
> print(a)
> end
> end
>
> foo()
> bar()
>
> What happens here is, a function foo is defined, in which a local var. "a"
> is initialized to the value "2". Ano
On Tue, Feb 05, 2008 at 07:33:46PM -0800, Zev Benjamin wrote:
> # New Ticket Created by Zev Benjamin
> # Please include the string: [perl #50554]
> # in the subject line of all future correspondence about this issue.
> # http://rt.perl.org/rt3/Ticket/Display.html?id=50554 >
>
>
> I unfortunat
On Wed, Feb 06, 2008 at 09:59:52PM -0500, Zev Benjamin wrote:
> > What happens if you run using "parrot perl6.pbc" instead
>
> No difference.
>
> > of the perl6 executable? If you still get the segfault, how
> > about trying parrot with the -G option?
>
> This stops the segfault.
>
> >
> > Ho
On Fri, Feb 08, 2008 at 12:52:43PM +0100, Klaas-Jan Stol wrote:
> languages/pynie directory contains a file in src/PAST/Grammar.tg, which is
> the tree transformation for pynie.
>
> This is no longer used, as pynie is converted to PCT.
>
> I propose to remove this file, as it is out of date and i
On Mon, Feb 11, 2008 at 10:27:27PM +0100, Andrew Parker wrote:
> .namespace
> .sub "outer"
> new $P12, "Integer"
> assign $P12, 1
> .lex "x", $P12
> get_global $P18, "inner"
> newclosure $P18, $P18
> $P17 = $P18()
> print $P17
> print "\n"
> .end
>
> .sub "inner" :
nterp
> $P1 = $P0['outer'; 'lexpad']
> $P14 = $P1['x']
> n_add $P15, $P14, 1
> .lex "x", $P15
> .return ($P15)
> .end
>
> There is also the 'outer' lexpad which is the actua
On Tue, Feb 12, 2008 at 08:59:46PM -0800, Geoffrey Broadwell wrote:
> Here's my fear: Parrot will near production release, we'll start
> finding performance problems, and everyone will be so incredibly ready
> to get 1.0 out the door that we'll release before fixing them ("correct
> now, fast late
On Wed, Feb 13, 2008 at 07:29:25PM -0800, Will Coleda wrote:
> compilers/nqp/t/01-literals.t, for example, has a shebang of:
>
> #!./parrot
>
> but contains a test file written in NQP, not PIR.
>
> Before we can re-enable the pir_code_coda test, these files need to be
> updated to have a proper
On behalf of the Parrot team, I'm proud to announce Parrot 0.5.3
"Way of the Parrot." Parrot (http://parrotcode.org/) is a virtual
machine aimed at running all dynamic languages.
Parrot 0.5.3 can be obtained via CPAN (soon), or follow the
download instructions at http://parrotcode.org/source.html
On Tue, Feb 26, 2008 at 07:33:49PM -0800, James Keenan via RT wrote:
> 1. Should 'lib/Test' be removed from the:
> no_index:
> directory:
>
> element in META.yml. I felt it should, because that directory has
> ceased to be part of the Parrot distribution. So I patched META.yml in
> r260
On Thu, Feb 28, 2008 at 01:21:40PM +0100, Klaas-Jan Stol wrote:
> hi,
>
> recently on #parrot there was a short discussion on symbol handling
> w.r.t. nested scopes.
>
> During that discussion, I understood that when looking for a symbol in
> a PAST::Block node, it will look in that block, and, i
On Tue, Mar 04, 2008 at 06:39:38PM -0800, chromatic wrote:
> On Tuesday 04 March 2008 16:48:09 Will Coleda wrote:
> > So, language developers (and others); please grab a copy of
> > https://svn.perl.org/parrot/branches/pdd17pmc and check out the
> > languages to see how they fare compared to their
> On Tuesday 04 March 2008 16:48:09 Will Coleda wrote:
> So, language developers (and others); please grab a copy of
> https://svn.perl.org/parrot/branches/pdd17pmc and check out the
> languages to see how they fare compared to their counterparts in
> trunk.
APL doesn't run. I suspect the aplvect
On Mon, Mar 17, 2008 at 10:26:21AM -0700, Will Coleda via RT wrote:
> compilers/pct/src/PAST/Compiler.pir says:
>
> On Thu Dec 13 17:47:05 2007, [EMAIL PROTECTED] wrote:
> > Implement a 'copy' assignment (at least until we get the 'copy'
> > opcode -- see RT#47828).
>
> Now that the copy op is im
On Tue, Mar 18, 2008 at 08:21:09AM -0700, Stephane Payrard wrote:
>
> A rule with a space between the '<' and the '?' compiles
> but fails at execution
> with the unhelpful message :
> Unable to find regex ''
> Null PMC access in invoke()
I agree that this is not a useful error message. Howev
On Wed, Mar 26, 2008 at 02:25:06PM +0100, Klaas-Jan Stol wrote:
> having used NQP a bit, I feel like I'm missing a few things. I'm not
> entirely sure what the fate of NQP is; will it always be a bootstrap
> stage for Perl 6,or is it a tool for now and will it be discarded
> later on.
Neither! It
On Wed, Mar 26, 2008 at 09:12:18AM -0700, Geoffrey Broadwell wrote:
> > Being able to write
> >
> > unshift @?BLOCK, $?BLOCK;
> >
> > would be useful, as it prevents the need for creating the List class
> > over and over again.
> > I feel that these ops are so basic, it would be well worth it to
On Wed, Mar 26, 2008 at 04:29:05PM +0100, Klaas-Jan Stol wrote:
> hi,
>
> i've been working on an actions file for the NQP compiler, written in
> NQP. It can be found in compilers/nqp/bootstrap
> to build it, go to the compilers/nqp directory, and type "make boot"
>
> It seems to work pretty nice
On Tue, Mar 25, 2008 at 09:32:46PM -0700, [EMAIL PROTECTED] wrote:
> Modified:
>trunk/apps/p3/cgi-pir/slides.pir
>trunk/compilers/past-pm/PAST/Node.pir
>trunk/compilers/past-pm/POST/Node.pir
... are we at or near a point that past-pm could be removed
from the repository? What language
On Wed, Mar 26, 2008 at 11:06:22AM -0700, jerry gay wrote:
> On Wed, Mar 26, 2008 at 10:50 AM, Patrick R. Michaud <[EMAIL PROTECTED]>
> wrote:
> > ... are we at or near a point that past-pm could be removed
> > from the repository? What languages or tools are still u
On Wed, Mar 26, 2008 at 12:08:35PM -0700, chromatic wrote:
> On Wednesday 26 March 2008 10:50:58 Patrick R. Michaud wrote:
>
> > On Tue, Mar 25, 2008 at 09:32:46PM -0700, [EMAIL PROTECTED] wrote:
> > > Modified:
> > >trunk/apps/p3/cgi-pir/slides.pir
> &g
On Wed, Mar 26, 2008 at 06:09:50PM -0700, Will Coleda wrote:
> Basically, user problems are reported against a *release*. Anyone
> reporting a problem against something more fine grained than a release
> is a developer, and we should expect them to be able to use their own
> version control tools,
On Sun, Mar 16, 2008 at 11:11:31AM -0700, James Keenan via RT wrote:
> Can any of our Win32 developers examine this?
Also, the patch and file needs to be updated to use PGE::Perl6Regex
instead of PGE::P6Regex, as the latter is now deprecated
(see RT#48028).
Pm
On Thu, Mar 27, 2008 at 10:33:54PM +0100, Klaas-Jan Stol wrote:
> On Wed, Mar 26, 2008 at 6:30 PM, Patrick R. Michaud <[EMAIL PROTECTED]> wrote:
> > On Wed, Mar 26, 2008 at 02:25:06PM +0100, Klaas-Jan Stol wrote:
> > > * list ops ( I think this is meant by list ops? )
&
On Fri, Mar 28, 2008 at 10:51:16AM +0100, Klaas-Jan Stol wrote:
> Attached is a patch implementing:
>
> * ++ and -- postfix operators, implemented as n_sub and n_add (taking
> "1" as the 3rd operand), this is because each instruction must have an
> output register as far as I can tell (so "inc"/"d
On Fri, Mar 28, 2008 at 07:41:25AM -0500, Patrick R. Michaud wrote:
> Ideally += should be implemented as the two-argument 'add' opcode
> in PIR... something like
>
> add %0, %1
>
> But the PAST compiler doesn't yet have a great way for distinguishing
> a
On Fri, Mar 28, 2008 at 02:41:28PM +0100, Klaas-Jan Stol wrote:
> On Fri, Mar 28, 2008 at 1:41 PM, Patrick R. Michaud <[EMAIL PROTECTED]> wrote:
> > It really needs to be inc/dec. And not only that, but the output
> > value of postfix ++ and -- needs to be the value _bef
On Fri, Mar 28, 2008 at 04:35:42PM +0100, Klaas-Jan Stol wrote:
>
> attached an updated patch including some tests.
Patch applied in r26597. I made a few modifications before
applying:
- Updated the precedence of postfix:++ and postfix:-- to match
- Fixed the relational ops to use e.g., infix:
First, kudos and compliments to Klaas-Jan Stol on the excellent
PCT tutorial. I have some comments; the minor ones (typos, etc.)
I'll send off-list, but others may merit some discussion and
PCT implementation changes so I'll put them here.
This message has to do with scope handling of variables i
On Sat, Mar 29, 2008 at 01:04:22AM -0500, Patrick R. Michaud wrote:
> This message has to do with scope handling of variables in Episode 6
> of the tutorial (the 'identifier' method for Squaak). The tutorial
> points out an area where PCT doesn't yet work the way I had
&
As of this morning only the following files still need conversion
for P6Regex, P6Grammar, and/or pgc:
examples/pge/all.pir
languages/tap/Makefile
The examples/pge/all.pir file is a very outdated example of
writing parsers using PGE -- the new way of doing it is
to use Perl6Grammar or som
S06.pod says (line 2698):
: Ordinarily a top-level Perl "script" just evaluates its anonymous
: mainline code and exits. During the mainline code, the program's
: arguments are available in raw form from the C<@ARGS> array. At the end of
: the mainline code, however, a C subroutine will be calle
On Sat, Mar 29, 2008 at 12:53:29PM -0700, Alan Rocker wrote:
> Perl 6 does not defend itself against invalid options. Using an invalid
> option results in an ungraceful death rather than a valid error message.
>
> E.g.
> $ ./perl6 -x "say 'Hi';"
> Error: file cannot be read: -x
> current instr.: '
On Sun, Mar 30, 2008 at 08:21:39AM -0700, Mark A. Biggar wrote:
> The reduce meta-operator over - in APL gives alternating sum, similarly
> alternating quotient for /, which only works if you right associate
> things.
>
> [-] 1,2,3,4,5,6 => 1-2+3-4+5-6 # pseudo-apl
>
> [/] 1,2,3,4,5,6 => (1*3*5
On Mon, Mar 31, 2008 at 10:23:45AM +0200, Moritz Lenz wrote:
> John M. Dlugosz wrote:
> > I understand the most official grammar is being developed there.
>
> Not quite. The "official" grammar is in the pugs repo in src/perl6/, but
> it can't really run on anything yet.
This is correct -- the "of
On Sat, Mar 29, 2008 at 02:48:11PM -0700, chromatic wrote:
> On Thursday 27 March 2008 18:20:21 Patrick R. Michaud wrote:
> > 2. Add shift/unshift/push/pop methods to ResizablePMCArray
> > (or one of its superclasses) in Parrot
>
> This is my preference. It feels lik
On Mon, Mar 31, 2008 at 11:54:59AM -0700, chromatic wrote:
> Coding standards nit: the pointer symbol goes on the variable name in the
> declaration.
>
> PMC *value = VTABLE_shift_pmc(INTERP, SELF);
Oops, I missed that. Thanks, fixed in r26671.
Pm
On Mon, Mar 31, 2008 at 11:33:42PM -0400, Bob Rogers wrote:
> Do you remember the discussion two years ago [1] about eliminating the
> user stack in favor of arrays? Chip made the following comment [2]:
>
> From: Chip Salzenberg <[EMAIL PROTECTED]>
> Subject: User stack: Worthwhile?
>
On Tue, Apr 01, 2008 at 01:23:38PM +0200, Klaas-Jan Stol wrote:
> in the exception handler, a new Undef is created in $P0. When leaving
> this line, this code won't work. When commenting out this line, it
> will print "hi", as expected.
> I don't get that, because, 3 lines later, a new object is st
On Tue, Apr 01, 2008 at 05:39:36AM -0400, Mark J. Reed wrote:
> On Tue, Apr 1, 2008 at 1:44 AM, Xiao Yafeng <[EMAIL PROTECTED]> wrote:
> > I've read Synopsis and I wondered why to treat max and min as
> > operator. IMHO, view them as list functions is more reasonable. Like
> > below:
> >
> > @te
On Tue, Apr 01, 2008 at 03:22:28PM -0500, Joshua McAdams wrote:
> Allison wrote:
> > Also, we're planning a hackathon the weekend before YAPC::NA,
> > June 14-15, for core hacking, language implementation, and cage cleaning.
The YAPC::NA wiki [1] currently says that the hackathon will be
the days
On Wed, Apr 02, 2008 at 04:34:47PM -0400, Will Coleda wrote:
> Can we get an idea of how many parrot hackers are planning on
> attending YAPC::EU this year? (will be held in Copenhagen, Denmark, on
> 13-15 August 2008.)
>
> http://www.yapceurope2008.org/ye2008/
>
> I am actually a maybe at this p
On Tue, Apr 01, 2008 at 11:07:43AM -0700, Bernhard Schmalhofer wrote:
> # New Ticket Created by Bernhard Schmalhofer
> # Please include the string: [perl #52382]
> # in the subject line of all future correspondence about this issue.
> # http://rt.perl.org/rt3/Ticket/Display.html?id=52382 >
>
>
On Fri, Apr 04, 2008 at 10:06:39AM -0700, chromatic wrote:
> On Thursday 03 April 2008 15:47:12 Mark Glines wrote:
>
> > When doing a test for --gc=libc, I noticed test 10 of t/op/calling.t
> > was hanging. The test creates a FixedIntegerArray from the string "0,
> > 0x20, 0x20, 0". The new_from
On Sat, Apr 05, 2008 at 07:59:36PM -, John M. Dlugosz wrote:
> I'm trying to fathom STD.pm.
>
> Maybe someone can help me trace through this one?
>
> How is
> $obj!privA = 1;
> parsed?
>
> Reading expect_term, it trys , then sees the
> "$" and commits to the decision, reads "obj" as
1001 - 1100 of 2045 matches
Mail list logo