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 official
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 like a role.
This is my preference
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 stored
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:
@test.max
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 point.
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.
# URL: 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_string()
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 noun, then variable sees the
$ and commits to the decision, reads obj as a
On Sat, Apr 05, 2008 at 05:32:27PM -0500, Patrick R. Michaud wrote:
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
On Thu, Jan 31, 2008 at 03:05:17AM -0800, Klaas-Jan Stol wrote:
# New Ticket Created by Klaas-Jan Stol
# Please include the string: [perl #50424]
# in the subject line of all future correspondence about this issue.
# URL: http://rt.perl.org/rt3/Ticket/Display.html?id=50424
as far as I
On Sun, Mar 09, 2008 at 04:17:51PM -0400, Bob Rogers wrote:
From: Klaas-Jan Stol (via RT) [EMAIL PROTECTED]
: when running a language in interactive mode, and you declare a local
: variable, then this local variable cannot be accessed afterwards.
That's it exactly. A general solution
On Fri, Apr 04, 2008 at 02:15:26PM -0700, Christoph Otto (Volt) wrote:
When running the following PIR code, Parrot does the Perlish thing
and implicitly converts s to an int. This violates the principle
of least surprise and makes it unnecessarily difficult to test
whether an element
On Thu, Apr 10, 2008 at 05:53:10PM -0700, [EMAIL PROTECTED] wrote:
Author: chromatic
Date: Thu Apr 10 17:53:10 2008
New Revision: 26920
[OO] Optimized isa() vtable entry for Class. Instead of delegating
most of its work to isa_pmc(), this entry now performs its work
directly. This is
With some recent PCT-related changes I think we may want to
update the tutorials a bit.
1. Remove the custom List class.
ResizablePMCArray now has built-in shift/unshift/push/pop
methods, so we can use it directly from NQP and don't need
to create a custom List class to be able to invoke these
On Thu, Apr 10, 2008 at 09:18:38PM -0700, Larry Wall wrote:
On Fri, Apr 11, 2008 at 03:26:02AM -, John M. Dlugosz wrote:
: S06 shows how to define named-only parameters, marked with a prefix :.
But no example shows anything more than a bare parameter name. No type is
ever given!
:
:
On Thu, Apr 10, 2008 at 02:02:37PM -0700, Bernhard Schmalhofer wrote:
When removing Parrot/HLLCompiler for RT#48030 I noticed that the docs
of 'comreg'
did not match very well with reality.
pmichaud elaborated on IRC:
[...]
See also the thread on this topic at [1]. Essentially a
On Thu, Apr 10, 2008 at 11:53:00PM -0500, Patrick R. Michaud wrote:
A patch is attached making this change.
Attaching patch.
Pm
Index: src/ops/core.ops
===
--- src/ops/core.ops(revision 26926)
+++ src/ops/core.ops(working
On Fri, Apr 11, 2008 at 08:02:23PM +0100, Nuno 'smash' Carvalho wrote:
Greetings all,
I just posted a little Parrot benchmark in my use.perl's journal that
i think it would be interesting for everyone to take a look.
Excellent! Is this benchmark pure PIR, or coming from a HLL
language
On Fri, Apr 11, 2008 at 08:56:32PM +0100, Nuno 'smash' Carvalho wrote:
On Fri, Apr 11, 2008 at 8:38 PM, Patrick R. Michaud [EMAIL PROTECTED] wrote:
On Fri, Apr 11, 2008 at 08:02:23PM +0100, Nuno 'smash' Carvalho wrote:
Greetings all,
I just posted a little Parrot benchmark in my
On Sat, Apr 12, 2008 at 08:24:57PM -0700, Bob Rogers wrote:
This is a prerequisite to removing the user_stack operations.
These ops can be found easily by adding:
real_exception(interp, NULL, 1, Stack op 'xyz' used.\n);
to the code in src/ops/stack.ops, running make test, and
On Sun, Apr 13, 2008 at 09:05:38AM -0700, Bernhard Schmalhofer via RT wrote:
On Mi. 19. Mär. 2008, 07:38:36, pmichaud wrote:
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).
The copy
On Sun, Apr 13, 2008 at 11:34:33AM -0400, Bob Rogers wrote:
From: James Keenan via RT [EMAIL PROTECTED]
Date: Sun, 13 Apr 2008 05:28:17 -0700
Of these five files, the only ones that we (or, more to the point, I)
could not safely do right away is
On Sun, Apr 13, 2008 at 06:57:26PM +0100, Nuno 'smash' Carvalho wrote:
Greetings all,
We did another Parrot benchmarking, this time using a common
programming technique: recursion. We created a function to calculate
the number of nodes in a full binary tree given the tree's height. I
guess
On Fri, Apr 11, 2008 at 12:53:31PM -0700, Bob Rogers wrote:
# New Ticket Created by Bob Rogers
# Please include the string: [perl #52778]
# in the subject line of all future correspondence about this issue.
# URL: http://rt.perl.org/rt3/Ticket/Display.html?id=52778
As the
On Sun, Apr 13, 2008 at 07:21:06PM +0100, Nuno 'smash' Carvalho wrote:
On Sun, Apr 13, 2008 at 7:06 PM, Patrick R. Michaud [EMAIL PROTECTED] wrote:
On Sun, Apr 13, 2008 at 06:57:26PM +0100, Nuno 'smash' Carvalho wrote:
Greetings all,
We did another Parrot benchmarking, this time
On Sun, Apr 13, 2008 at 02:01:50PM -0700, chromatic wrote:
On Sunday 13 April 2008 11:26:45 [EMAIL PROTECTED] wrote:
Modified:
trunk/src/main.c
Log:
[gettext] setup gettext in parrot main
If this happens in src/main.c, it won't be in libparrot, so anyone who wants
to embed
On Sun, Apr 13, 2008 at 02:50:42PM -0700, [EMAIL PROTECTED] wrote:
Modified:
trunk/languages/perl6/src/builtins/control.pir
Log:
[rakudo] First cut at eval. Sucks because it doesn't allow
you to use variables in the lexical scope the code is
compiled in. Yet.
FWIW, I had a note about
On Sat, Apr 12, 2008 at 11:52:44PM +0200, Moritz Lenz wrote:
Conrad Schneiker wrote:
Also, please consider referring people to the Perl 6 wiki (and
any relevant subsections thereof) for more information when
writing things that may get wider attention beyond the immediate
Perl 6
On Mon, Apr 14, 2008 at 10:07:14AM +0100, Alberto Simoes wrote:
Bob Rogers wrote:
From: Alberto Simoes [EMAIL PROTECTED]
3. A semi-log plot would be easier to interpret.
Smash tried a log plot, but it wasn't easier to interpret. I am not
sure what is a semi-log plot.
On Wed, Apr 16, 2008 at 02:19:42AM +0200, Jonathan Worthington wrote:
I thought that detecting when the signature on the caller and callee
side were identical and fast-tracking that might help. I stuck in
something to count how many times this happened. It was the case in 23%
of calls while
On Wed, Apr 16, 2008 at 09:38:41PM +0200, Jonathan Worthington wrote:
chromatic wrote:
You're right. I started from the wrong point in my bisect.
No worries.
I can't reproduce the problem with any revision before or after the 0.6.1
release.
But the 0.6.1 release had a problem? If
On Wed, Apr 16, 2008 at 11:19:33PM -0400, Bob Rogers wrote:
Pardon a lurker, but I'm not sure I understand the point of this. In:
if $x $y $z { ... }
I would expect a sensible compiler short-circuit the $x $y part, and
indeed the Chained comparisons section of S03 (version 135)
On Fri, Apr 18, 2008 at 06:30:24AM -0700, Stephane Payrard wrote:
The error message is No such caller depth
Having it working would be a additional tool.
Indeed, I wanted to tweak the code manually to see the code I needed
the rakudo compiler to generated.
I have not investigated but I
On Sat, Apr 19, 2008 at 11:52:04AM -0700, Stephane Payrard wrote:
This is part of an probably recurring serie of end-user bugs that
ask in substance : making things easier on people... who want
to use HLLCompiler and Parrot and the languages derived from them
without wanting to be involved in
On Fri, Apr 18, 2008 at 09:47:06AM -0700, chromatic wrote:
On Fri, Apr 18, 2008 at 06:30:24AM -0700, Stephane Payrard wrote:
Having it working would be a additional tool.
Indeed, I wanted to tweak the code manually to see the code I needed
the rakudo compiler to generated.
I have
On Thu, Apr 17, 2008 at 10:10:29PM -0500, Jonathan Scott Duff wrote:
I was annoyed that
parrot perl6.pbc --target=PAST -e 'say Hello'
didn't seem to work, so I modified PCT/HLLCompiler so that it does.
I'm not sure it's entirely correct though as I only tested it for the
limited
On Mon, Apr 21, 2008 at 10:19:08AM -0700, chromatic wrote:
I'm still exploring the Rakudo build progress as a profiling target for
likely
optimizations. After this weekend's work, I have src/gen_actions.pir
generation down to 27,788,055,796 instructions (with an optimized Parrot). A
big
On Mon, Apr 21, 2008 at 08:34:49PM +0100, Klaas-Jan Stol wrote:
hi,
Currently, the pct tutorial language is out there, mostly on the
parrotblog entries, and I uploaded a .zip onto the wiki.
However, updating it is now a pain, because I have to recreate a .zip
and replace it on the wiki.
On Mon, Apr 21, 2008 at 08:48:10PM +0100, Klaas-Jan Stol wrote:
On Mon, Apr 21, 2008 at 8:25 PM, Patrick R. Michaud [EMAIL PROTECTED] wrote:
I think we'd get a BIG win if we changed the dynamic_env stack to
have an approach similar to ResizableIntegerArray, where we allocate
arrays
On Mon, Apr 21, 2008 at 02:25:53PM -0500, Patrick R. Michaud wrote:
The parts of the stack code we've discussed eliminating is actually
the user_stack, used for push/pop/saveall/restoreall opcodes.
I inadvertently wrote push/pop here where I really meant save/restore.
The push/pop opcodes
On Mon, Apr 21, 2008 at 04:31:17PM -0400, Bob Rogers wrote:
From: Patrick R. Michaud [EMAIL PROTECTED]
Date: Mon, 21 Apr 2008 14:55:21 -0500
On Mon, Apr 21, 2008 at 8:25 PM, Patrick R. Michaud [EMAIL PROTECTED]
wrote:
I think we'd get a BIG win if we changed the dynamic_env
On Mon, Apr 21, 2008 at 04:38:52PM -0400, Bob Rogers wrote:
From: Patrick R. Michaud [EMAIL PROTECTED]
Date: Mon, 21 Apr 2008 14:25:53 -0500
. . . this seems to be the case for everything using the
generic stack, which AFAICT is the interp-dynamic_env structure.
Your point
On Sat, Apr 12, 2008 at 08:26:34PM -0700, Bob Rogers wrote:
The ops in src/ops/stack.ops are holdovers from the bad old days of
limited registers. In modern times, it is more versatile (and probably
faster) to create an array and use it as an explicit stack via push and
pop operations.
On Mon, Apr 21, 2008 at 11:04:13PM -0400, Bob Rogers wrote:
Content-Description: message body text
t/op/jit.t 1 256621 1.61% 55
This one requires removing saveall and restoreall handling from imcc
(done in the stacks branch).
t/op/stacks.t
Tonight I resolved RT#52838 and RT#52840, eliminating the saveall/restoreall
opcodes, the register stack, and fixing up tests and other items
to avoid save/restore/etc. opcodes.
I've also created a userstack branch where I've got the details
for removing the rest of stack.ops . I've already
On Sun, Apr 20, 2008 at 12:37:32PM -0700, Jonathan Worthington via RT wrote:
Patrick R. Michaud wrote:
Rakudo doesn't use the line numbering feature of imcc because
the line numbering feature of imcc doesn't work.
See RT#43269 - setline is tied to PIR source.
I wouldn't say it doesn
Based on Tuesday's #parrotsketch discussion, r27153
eliminates the user stack opcodes from Parrot. DEPRECATED.pod
showed that this would occur after the 0.7.0 release, but given
discussions and changes relating to the other stacks it was
decided that this could probably take place now.
The
Someone looking for basic information about Squaak may have
difficulty finding it.
Below is some text I adapted from the parrotblog tutorial that
might be suitable as a starting point for a README in
languages/squaak. Feel free to add or modify it as appropriate.
Pm
[Adapted from the
On Mon, Apr 28, 2008 at 09:54:17AM -0400, Will Coleda wrote:
Please note that the release is supposed to be occurring on the
Tuesday of the conference, 2 days after the hackathon.
Should we perhaps change the release date? It seems like we might
want to add a bunch of things during the
On Tue, Apr 29, 2008 at 01:48:52PM -0400, Jeff Horwitz wrote:
On Tue, 29 Apr 2008, Patrick R. Michaud wrote:
On Tue, Apr 29, 2008 at 12:34:47PM -0400, Jeff Horwitz wrote:
mod_parrot can load multiple HLL compilers in the same interpreter, and on
my server i'm using both perl6 and plumhead
On Tue, Apr 29, 2008 at 12:34:47PM -0400, Jeff Horwitz wrote:
mod_parrot can load multiple HLL compilers in the same interpreter, and on
my server i'm using both perl6 and plumhead. this works fine if i load
perl6 before plumhead. however, if i load perl6 *after* plumhead, i get a
nasty
On Thu, May 01, 2008 at 12:19:06PM -0700, chromatic wrote:
I'm not sure. Why add special logic to Parrot to find poorly-installed
libraries? If you install a dynamic library outside of your normal system
library paths, no other program will find it. If you want other things to
find it,
Jesse asked about getting t/pugs/operator/arith.t to run
on Rakudo, as written arith.t depends on the .nextwith
capability from S06. For example:
sub tryok ($ok, $todo) {
if ($todo) {
ok.nextwith($ok,$todo, :todo);
} else {
ok.nextwith($ok);
}
}
I'm of
On Thu, May 01, 2008 at 11:40:43PM -0700, chromatic wrote:
When you try to invoke a sub that doesn't exist, Parrot currently gives the
unhelpful error message Null PMC access in invoke(). Sometimes you can
figure out what's wrong given the backtrace. Often you can't.
Just a quick note here
On Mon, May 05, 2008 at 02:16:30PM +0200, Moritz Lenz wrote:
1) Most tests have a 'use v6-alpha;' line at the top. IMHO that's a bad
idea, because in the end we'll want to test v6, not v6-alpha (which I
think isn't even cleanly defined). Should we s/v6-alpha/v6/g the test
suite? I think yes,
On Mon, May 05, 2008 at 09:07:27AM -0700, chromatic wrote:
On Monday 05 May 2008 08:29:39 Andy Lester wrote:
On May 5, 2008, at 10:23 AM, Eric Wilhelm wrote:
Lurkers (potential contributors.) Posting it on use.perl.org (and/or
various other feed sources) would reach more of us.
But
On Mon, May 05, 2008 at 10:20:30AM -0700, Stephane Payrard wrote:
The following PIR program prints Match. I would expect PGE::Match.
I don't see the reason that motivates the current behavior
.sub main
.local pmc match
.local string s
load_bytecode compilers/pge/PGE.pbc
match
On Mon, May 05, 2008 at 12:48:11PM -0700, Eric Wilhelm wrote:
I guess what I'd really like to see would be something aimed higher
than the p5p summaries are. It'd be something that could be
interesting to a wider range of readers, not just the people who care
about the nitty gritty of
On Fri, May 02, 2008 at 02:16:01AM -0500, Patrick R. Michaud wrote:
When you try to invoke a sub that doesn't exist, Parrot currently gives the
unhelpful error message Null PMC access in invoke(). Sometimes you can
figure out what's wrong given the backtrace. Often you can't
On Wed, May 07, 2008 at 02:12:00AM -0700, Stephen Weeks wrote:
Rakudo currently passes positional arguments into named parameters of
functions. This is in violation of S06:748.
sub a (:$a) { say $a }
a(1);
There's a somewhat significant mismatch between Perl 6's handling of
arguments and
On Tue, May 06, 2008 at 09:38:56PM -0700, Patrick R. Michaud via RT wrote:
I think this ticket is ready to be closed. A lot of the PMC_* items
were likely fixed as part of the pdd15oo change, and the problem I cited
has apparently been fixed.
Looking a bit further, there are still a few
On Tue, May 06, 2008 at 11:35:20PM -0700, Stephen Weeks wrote:
Both rakudo's grammar and STD.pm have this line in token methodop:
| ':' ?before \s !{ $+inquote } EXPR(%list_prefix)
t/spec/S29-list/minmax.t has the following parse failure in a few places,
though:
is @array.min:{
On Wed, May 07, 2008 at 08:11:28AM -0600, Stephen Weeks wrote:
Not long ago, Patrick R. Michaud via RT proclaimed...
There's a somewhat significant mismatch between Perl 6's handling of
arguments and Parrot's handling of them; at the moment Rakudo
is following the Parrot conventions
On Fri, May 09, 2008 at 03:02:28PM +0200, Carl Mäsak wrote:
TSa ():
sub bar ($x)
{
$x = 3; # error, $x is readonly
foo($x); # error, could hit rw Str
}
By the way, I hope it's possible to make the assignment `$x = 3` to
the read-only variable $x a compile-time error.
In
On Fri, May 09, 2008 at 05:09:31PM +0200, Carl Mäsak wrote:
Pm ():
In Rakudo's case, we just haven't implemented read-only traits
on variables yet.
Goodie. I guessed as much.
But yes, I expect that it will be caught as
a compile-time error.
And do you agree it's reasonable to
On Thu, May 08, 2008 at 11:28:36AM -0700, Moritz Lenz wrote:
Rakudo as of r27393 can't handle multiple declarations in a single my:
my (@a, @b); say @a
Scope not found for PAST::Var '@a'
We'll work on this one.
my @a, @b; say @a
Scope not found for PAST::Var '@b'
Rakudo has this one
Since this didn't make it to the mailing list -- this is now fixed
as of r27397.
Pm
On Sat, May 10, 2008 at 09:43:38AM +0100, Nicholas Clark wrote:
On Fri, May 09, 2008 at 06:47:12PM -0500, Patrick R. Michaud wrote:
On Thu, May 08, 2008 at 11:28:36AM -0700, Moritz Lenz wrote:
my @a, @b; say @a
Scope not found for PAST::Var '@b'
Rakudo has this one correct
On Sat, May 10, 2008 at 02:37:19PM -0700, chromatic via RT wrote:
On Saturday 10 May 2008 14:19:30 Patrick R.Michaud wrote:
I vote we deprecate remove Super entirely, since there doesn't
appear to anything using it. PDD15 defines other methods to
do what the Super PMC was intended to do.
PDD15 says:
: =item - Objects may have a custom vtable or use a class-wide vtable.
How does one do this?
Also, at one time it was mentioned that we would have a way to
add roles to individual objects -- is that still on the table?
Pm
On Fri, May 16, 2008 at 11:12:54PM +0100, Nicholas Clark wrote:
On Fri, May 16, 2008 at 03:20:34PM -0500, Patrick R. Michaud wrote:
On Fri, May 16, 2008 at 09:12:19PM +0100, Alberto Simões wrote:
if (!base !(i scale) (!emit_is8bit(disp) || 1)) {
This is exactly
On Sun, May 18, 2008 at 12:01:15PM +0200, Bernhard Schmalhofer wrote:
James E Keenan schrieb:
Patrick R. Michaud via RT wrote:
plus I don't know
that languages/regex is being used or maintained. I vote to remove
languages/regex, either for the May 2008 release or soon thereafter.
FWIW
On Mon, May 19, 2008 at 10:29:29AM -0700, Stephane Payrard wrote:
But the following test fails. I pasted the content of the literal
string with a character that emacs says to be #x8a0
my $s = ; say $s.chars # $s == \x8a0
2
I expected one.
Because Parrot's primary support for unicode
On Mon, May 19, 2008 at 03:29:33PM -0700, Stephane Payrard wrote:
# New Ticket Created by Stephane Payrard
# Please include the string: [perl #54478]
# in the subject line of all future correspondence about this issue.
# URL: http://rt.perl.org/rt3/Ticket/Display.html?id=54478
Request
On Thu, May 22, 2008 at 06:07:39PM +0200, Moritz Lenz wrote:
As a follow-up to r27708 I refactored rakudo's t/harness.
This patch basically morphs the --regression-only option into a more
general option -- tests-from-file. If you provide a file with a list of
file names, only those files will
On Thu, May 22, 2008 at 03:13:59PM -0700, Stephane Payrard wrote:
\h \H \v \V seems silently missing from PGE.
I don't know what the spec says about unaffected or unimplemented
escaped alphabetical char but I doubt that silence is the right option.
PGE implements \h, \H, \v, and \V. The
On Fri, May 23, 2008 at 03:28:32PM -0700, Vasily Chekalkin wrote:
Hello.
Reworked implementation of 'map'
Excellent. A couple of notes:
1. Calling 'newclosure' from within 'map' is almost certainly wrong.
The newclosure op can only be called for closures that have the
current sub
On Wed, May 28, 2008 at 10:05:32PM -0400, Bob Rogers wrote:
From: Allison Randal [EMAIL PROTECTED]
Any of these alternatives can be marked as optional. Positional
parameters must come before all lookahead or named parameters. Lookahead
parameters must come before all named
t/spec/S29-array/delete.t currently has:
my @array = a b c d;
is [EMAIL PROTECTED], a b c d, basic sanity (1);
is [EMAIL PROTECTED](2), c,
deletion of an array element returned the right thing;
# Note: The double space here is correct (it's the stringification of undef).
is [EMAIL
The draft Synopsis 29 [*] shows that the .keys, .kv, .pairs,
and .values methods are defined for Array but not List.
[*] http://svn.pugscode.org/pugs/docs/Perl6/Spec/Functions.pod
However, t/spec/S29-array/kv.t has entries like:
# (1,).kv works correctly
{
my @a = ();
@a
On Thu, May 29, 2008 at 08:32:11AM -0700, Will Coleda via RT wrote:
On Wed May 28 14:56:11 2008, julianalbo wrote:
The function intlist_dump in src/intlist.c is never used.
If defined LIST_DEBUG, it calls list_dump. That function is present in
src/list.c but is static, and is also never
On Thu, May 29, 2008 at 10:25:17AM -0700, chromatic wrote:
On Thursday 29 May 2008 08:45:26 Will Coleda wrote:
Even if there is disagreement on whether the opcode itself should be
removed, there appears to be consensus that the tests need to be
removed. We can always do that first to deal
On Wed, May 28, 2008 at 07:26:29PM -0700, James Keenan via RT wrote:
On Wed May 28 18:57:31 2008, [EMAIL PROTECTED] wrote:
I will work on this. Attached is *part* of the solution.
And here is a more complete solution. (In the course of its
development, I ran it and it identified 3
On Fri, May 30, 2008 at 08:51:45AM -0400, Andy Dougherty wrote:
On Fri, 30 May 2008, James Keenan via RT wrote:
That will probably be possible. But as I was staring at
config/gen/makefiles/root.in, I couldn't figure out where $(PARROT_ARGS)
is originally defined in line such as this:
On Sat, May 31, 2008 at 05:54:31AM -0700, James Keenan via RT wrote:
Please review the patch attached, which implements your suggestion.
The patch looks good to me; I just have a couple of questions
and/or observations:
Index: lib/Parrot/Harness/Options.pm
On Sun, Jun 01, 2008 at 05:41:46AM -0700, James Keenan via RT wrote:
Since the other tests are specified using -tests in the option
name, perhaps we should have --code-tests instead of just --code?
(c.f. --core-tests and --runcore-tests).
Okay. But to extend the consistency theme, we
On Tue, Jun 03, 2008 at 02:21:28PM -0700, Geoffrey Broadwell wrote:
OK, how about this:
1. As with Bob's suggestion, DEVELOPING is reduced to just the
unchanging middle paragraph. It is then merely a flag -- removing that
function as well is better left to another RT.
2. The information
This message is looking for a clarification/confirmation.
S12:207 says:
To call an ordinary method with ordinary method-dispatch semantics,
use either the dot notation or indirect object notation:
$obj.doit(1,2,3)
doit $obj: 1,2,3
If the method was not found, it will fall back
On Thu, Jun 05, 2008 at 10:54:28AM -0700, Moritz Lenz wrote:
Rakudo as of r28105 suffers from low precision in its exp() function.
rakudo:
say exp(5) - 148.4131591025766
0.000159103
Actually, the problem was low precision in the
148.4131591025766 constant, which Parrot was
truncating to
On Thu, Jun 05, 2008 at 05:29:25PM +0100, Daniel Ruoso wrote:
Qui, 2008-06-05 às 11:04 -0500, Patrick R. Michaud escreveu:
Does fall back to a subroutine occur anytime we don't have
a method with a matching signature? For example, if we have
as far as I understand it, it only falls back
On Thu, Jun 05, 2008 at 12:15:31PM -0700, chromatic wrote:
On Thursday 05 June 2008 03:16:35 Klaas-Jan Stol wrote:
somehow a fresh checkout has resolved the problem
(but my other sandbox was still up to date according to svn status...)
You probably needed a 'make realclean'.
Actually,
On Thu, Jun 05, 2008 at 10:45:08PM +0200, Moritz Lenz wrote:
Okay, so my bad example didn't provide an answer to my
original question. Let's try it this way:
class Foo {
multi method bar(Dog $x) { say Foo::bar; }
}
sub bar(Int $x) { say sub bar; }
my
On Thu, Jun 05, 2008 at 05:58:27PM -0700, Will Coleda wrote:
The Version PMC is a skeleton that doesn't do anything, and isn't
really used anywhere else in the repository.
Attached patch removes it. I think we can safely do this in advance of
the June '08 release. Comments?
+1
Pm
t/spec/S02-builtin_data_types/type.t:23 in the spectests (r20685)
has the following:
my Int $foo;
my Str $bar;
#?rakudo skip 'type checking unimpl'
{
#?pugs 1 todo
is(try{$foo = 'xyz'}, undef, 'Int restricts to integers');
is(try{$foo = 42},42,'Int is an
On Fri, Jun 06, 2008 at 11:17:33PM -0700, Will Coleda via RT wrote:
Let's borrow the syntax from the makefile generation itself, and
just have RM_F's definition be:
+rm_f = '@perl@ -MExtUtils::Command -e rm_f',
[...]
Additionally (though it won't help the original problem,
In 2005 Larry wrote [1]:
[...] I think xor and ^^
should be make list associative but execute left-to-right, short
circuiting on the second true discovered, so you have some hope of
ordering the harder conditions later in a sequence and bypassing them.
In either case the one true value is
Tonight while working on Rakudo's Str implementation, I noticed
the following line in S29-list/map_function_return_values.t :
%ret = map { $_ = uc $_; }, split , $text;
This clashes with the definition of Csplit given by S29,
where the first argument (invocant) is the string to be split
and
701 - 800 of 2011 matches
Mail list logo