[perl #125555] [NYI] Comparison ops for DateTimes in Rakudo

2018-02-05 Thread Moritz Lenz via RT
Tests added in https://github.com/perl6/roast/commit/ff0472adfc

Re: [perl #130638] [LTA] X::Seq don't say which Seq the exception occurred on

2017-01-25 Thread Moritz Lenz
; Mority >> >> > > I don't want the values of the Seq, I want the name of the variable. Trying to find the name of a variable (if there is one at all) from the object is inherently brittle, and has lead to many false positives in the past (like reporting the name of a parameter from a routine in CORE somewhere). -- Moritz Lenz https://deploybook.com/ -- https://perlgeek.de/ -- https://perl6.org/

[perl #130396] [BUG] =:= operation aginst item contextualized object returns incorrect result

2016-12-23 Thread Moritz Lenz via RT
This is not a bug. $b is a container that contains the array @a, so @a !=:= $b. : An easy test is assigning to $b, and see if it's reflected in @a: $ perl6 -e 'my @a = 1,2; my $b = @a.item; $b = 42; say @a' [1 2]

Re: [perl #130371] [REGRESSION] return in block does not return from sub that is parameterised with that block

2016-12-18 Thread Moritz Lenz
this example, there is no lexically outer Routine, so the error message is valid. Cheers, Moritz -- Moritz Lenz https://deploybook.com/ -- https://perlgeek.de/ -- https://perl6.org/

Re: unicode

2016-09-17 Thread Moritz Lenz
6.1.0 docs/ChangeLog in MoarVM says + Updated to Unicode 8 in the section of the 2015.07 release, so it's not that bad :-) Cheers, Moritz -- Moritz Lenz https://deploybook.com/ -- https://perlgeek.de/ -- https://perl6.org/

Re: Inline::Python panda installation fails

2016-07-13 Thread Moritz Lenz
Hi, On 07/13/2016 11:01 AM, The Holy Ghost wrote: On linux 2016.04 and windows 2016.01 : ==> Fetching Inline::Python ==> Building Inline::Python gcc pyhelper.c -Wall -I"/usr/include/python2.7" -L"/usr/lib/python2.7/config" -lpython2.7 -shared -o

Re: [perl #127890] [IMPROVEMENT PROPOSAL] Test.pm6 make subtest multi to take description first

2016-04-13 Thread Moritz Lenz
Hi, On 04/13/2016 02:52 PM, Zoffix Znet (via RT) wrote: # New Ticket Created by Zoffix Znet # Please include the string: [perl #127890] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=127890 > Hey, I propose we make

Re: [perl #127878] UTF8-C8 + Str.subst either dumps core or corrupt memory

2016-04-12 Thread Moritz Lenz
On 11.04.2016 17:00, Moritz Lenz wrote: > On 04/11/2016 03:04 PM, Nicholas Clark wrote: >> On Mon, Apr 11, 2016 at 04:39:59AM -0700, H. Merijn Brand wrote: >> >>> In a one-liner: >>> >>> $ p6 -e'my$b=Buf.new(61,^2048 .map({256.rand.Int}));my Str >

[perl #66820] Null PMC access in find_method() while accessing bound return value from gather/take

2016-03-12 Thread Moritz Lenz via RT
On Sun Jun 21 11:24:57 2009, moritz wrote: > $ perl6 -e 'my @a := gather { for 1..3 { take $_; say @a.perl } }; say > @a.perl' > Null PMC access in find_method() > in Main (:1) Current behavior: Type check failed in binding; expected Positional but got Seq (?) If I change it to 'my \a =

Re: [perl #127263] Cannot pass a Method object to .^can

2016-01-14 Thread Moritz Lenz
Hi Dave, On 01/14/2016 07:47 AM, Dave Rolsky (via RT) wrote: # New Ticket Created by Dave Rolsky # Please include the string: [perl #127263] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=127263 > If I do a get errors like:

Announce: Rakudo Star Release 2015.11

2015-11-28 Thread Moritz Lenz
On behalf of the Rakudo and Perl 6 development teams, I'm happy to announce the November 2015 release of "Rakudo Star", a useful and usable distribution of Perl 6. The tarball for the November 2015 release is available from . This Rakudo Star release comes with

Re: Misunderstanding when usng elems on undefined Array

2015-09-28 Thread Moritz Lenz
Hi, On 09/25/2015 05:46 PM, mt1957 wrote: Found the following using Array; > my Array $a; > say $a.elems; 1 > $a.push(1) [1] > say $a.perl [1] > say $a.elems 1 > my Array $a .= new; [] > say $a.elems; 0 Seems that an uninitialized Array reports one element but pushing values on the

Re: [perl #126208] [BUG] Many threads results in data corruption

2015-09-28 Thread Moritz Lenz
On 09/27/2015 11:58 PM, Benjamin Goldberg (via RT) wrote: # New Ticket Created by Benjamin Goldberg # Please include the string: [perl #126208] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=126208 > The code at

Announce: Rakudo Star Release 2015.09

2015-09-26 Thread Moritz Lenz
On behalf of the Rakudo and Perl 6 development teams, I'm excited to announce the September 2015 release of "Rakudo Star", a useful and usable distribution of Perl 6. The tarball for the September 2015 release is available from . This Rakudo Star release comes

Re: [perl #126113] [BUG] Cannot bind to &::("CORE")::foo

2015-09-20 Thread Moritz Lenz
On 09/20/2015 09:55 AM, Tobias Leich (via RT) wrote: > # New Ticket Created by Tobias Leich > # Please include the string: [perl #126113] > # in the subject line of all future correspondence about this issue. > # https://rt.perl.org/Ticket/Display.html?id=126113 > > > >

Re: Problem documentation and/or compiler

2015-06-18 Thread Moritz Lenz
Hi Marcel, On 06/18/2015 11:17 AM, mt1957 wrote: Sorry I've been too fast, It's in the doc. However, why can't I assign it to a Buf with automatic coercion from utf8 to Buf which is more generic? The docs are wrong; it should be Blob, not Buf. I've fixed it in

Re: New Logo Design for perl6 modules

2015-06-11 Thread Moritz Lenz
Hi, On 06/10/2015 02:01 PM, Lin Yo-an wrote: Hi folks! I designed a logo for CPAN, and I think it can be used for perl6 modules, don't know if you're interested in it? https://twitter.com/c9s/status/608549774648692736 Great, I like it! Is there a high-res version available? What's the

Re: [perl #125211] Error Function X::Panda needs parens to avoid gobbling block when running panda on JVM, but not on Moar

2015-05-18 Thread Moritz Lenz
On 05/18/2015 04:07 AM, Rob Hoelz (via RT) wrote: # New Ticket Created by Rob Hoelz # Please include the string: [perl #125211] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org/Ticket/Display.html?id=125211 The full error message:

Re: [perl #125153] Pod nesting needs some clarity

2015-05-11 Thread Moritz Lenz
On 05/11/2015 02:47 PM, (via RT) wrote: # New Ticket Created by # Please include the string: [perl #125153] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org/Ticket/Display.html?id=125153 It's not clear which =begin is not terminated here,

Re: rakudo Test module: expanding tests considered?

2015-03-24 Thread Moritz Lenz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 24.03.2015 13:51, Nicholas Clark wrote: On Tue, Mar 24, 2015 at 09:44:19AM +0100, Moritz Lenz wrote: I'd suggest developing those test functions in a separate module, and after gathering some experience with it, when can discuss putting

Re: rakudo Test module: expanding tests considered?

2015-03-24 Thread Moritz Lenz
Hi, On 24.03.2015 00:15, Tom Browder wrote: On Mon, Mar 23, 2015 at 5:53 PM, Elizabeth Mattijsen l...@dijkmat.nl wrote: On 23 Mar 2015, at 23:50, Tom Browder tom.brow...@gmail.com wrote: Question: Would it be better to submit pull requests for some (or all) for the rakudo Test module or

Re: [perl #124108] [BUG] reduce meta-operator fails with 'max' on list larger than 2**15 with MoarVM

2015-03-19 Thread Moritz Lenz
On 03/19/2015 10:14 AM, Nicholas Clark wrote: On Wed, Mar 18, 2015 at 05:13:54AM -0700, David Hoekman wrote: Thanks for the concise and interesting bug report. There might be a whole bunch more things that break in a similar way... perl6-m -e 'say [max] 1..(1+2**15)' arg flag is empty in

Re: [perl #123949] Inconsistent APIs for IO::Socket::Async and Proc::Async

2015-03-04 Thread Moritz Lenz
Hi, On 27.02.2015 23:57, Elizabeth Mattijsen wrote: On 27 Feb 2015, at 17:24, Moritz Lenz (via RT) perl6-bugs-follo...@perl.org wrote: # New Ticket Created by Moritz Lenz # Please include the string: [perl #123949] # in the subject line of all future correspondence about this issue

[perl #123758] panda doesn't cope well when projects.json isn't a JSON document

2015-02-08 Thread Moritz Lenz via RT
On Sun Feb 08 04:58:14 2015, pmqs wrote: My ISP is currently blocking access to http://ecosystem- api.p6c.org/projects.json returning a HTML document instead, with at 200 OK. This makes panda blow up. FWIW panda bugs are better reported at https://github.com/tadzik/panda/issues $ panda

Announce: Rakudo Star Release 2015.01

2015-02-07 Thread Moritz Lenz
# Announce: Rakudo Star Release 2015.01 ## A useful, usable, early adopter distribution of Perl 6 On behalf of the Rakudo and Perl 6 development teams, I'm happy to announce the January 2015 release of Rakudo Star, a useful and usable distribution of Perl 6. The tarball for the January 2015

Re: [perl #123497] AutoReply: p6doc does not work on OSX (Rakudo * 2014.09)

2015-01-10 Thread Moritz Lenz
On 10.01.2015 12:45, Gabor Szabo wrote: If I put #!/usr/bin/env perl6 as the sh-bang of either of those script, they start to work. That's quite dangerous. Precompiled modules (on which scripts often depend) only work with the rakudo that compiled them. If a different one is in $PATH

Re: [perl #123515] Using for + Supply.list results in high CPU usage

2014-12-29 Thread Moritz Lenz
On 29.12.2014 13:44, Elizabeth Mattijsen wrote: On 29 Dec 2014, at 03:05, Rob Hoelz (via RT) perl6-bugs-follo...@perl.org wrote: # New Ticket Created by Rob Hoelz # Please include the string: [perl #12351] # in the subject line of all future correspondence about this issue. # URL:

Re: [perl #123048] [JVM] test in S02-names-vars/perl.t fails sporadically

2014-10-27 Thread Moritz Lenz
Hi, On 10/24/2014 06:16 PM, Christian Bartolomaeus (via RT) wrote: # New Ticket Created by Christian Bartolomaeus # Please include the string: [perl #123048] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org/Ticket/Display.html?id=123048 Today

Re: [perl #122221] Stubbing a parent class breaks instantiating its child from within the parent definition

2014-07-03 Thread Moritz Lenz
On 03.07.2014 13:04, Peter (via RT) wrote: # New Ticket Created by Peter # Please include the string: [perl #11] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org/Ticket/Display.html?id=11 23:29 pschm: class A::B {...}; class

Re: [perl #121772] $x ~~ s///;

2014-05-02 Thread Moritz Lenz
On 04/30/2014 05:21 PM, schw...@rt.perl.org wrote: # New Ticket Created by Schwenn, Peter # Please include the string: [perl #121772] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org/Ticket/Display.html?id=121772 Designation: Non-Finmeccanica

Re: [perl #77350] Calling a token 'any' calls for trouble

2014-04-14 Thread Moritz Lenz
On 04/14/2014 06:11 AM, Alexander Moquin via RT wrote: On Thu Oct 18 02:13:15 2012, moritz wrote: The problem is that the $*ACTIONS contextual is set to a type object (used to be Any, now Mu), so $*ACTIONS.any existed, but caused an error. commit 0973612366de17d6eab26e975663e63170e5d1d5 eased

Re: using git-bisect on rakudo

2014-03-28 Thread Moritz Lenz
On 03/28/2014 07:13 PM, Siddhant Saraf wrote: Hello, I used to be unable to build nqp-p a month ago or so. Recently, that changed, and now parrot + nqp-p builds fine. (rakudo doens't build yet, but that is another email) Now I want to find out which commit fixed things for me. I know

Re: [perl #121454] Can't inline complex constraints in multisub signatures

2014-03-19 Thread Moritz Lenz
Hi, On 03/19/2014 12:45 AM, Darren Duncan wrote: Damian, Moritz, etc, It seems to me that the basic problem here is that the vertical bar | has 2 different meanings (outside rules) depending on context. When used with type names it produces a union type, while with normal values such as

Re: [perl #121454] Can't inline complex constraints in multisub signatures

2014-03-19 Thread Moritz Lenz
f'up to p6l, because the ticket doesn't need the rest of the discussion. On 03/19/2014 10:21 PM, Darren Duncan wrote: On 2014-03-19, 1:20 AM, Moritz Lenz wrote: On 03/19/2014 12:45 AM, Darren Duncan wrote: Damian, Moritz, etc, It seems to me that the basic problem here is that the vertical

Re: [perl #121454] Can't inline complex constraints in multisub signatures

2014-03-18 Thread Moritz Lenz
On 03/17/2014 05:19 PM, Damian Conway (via RT) wrote: # New Ticket Created by Damian Conway # Please include the string: [perl #121454] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org/Ticket/Display.html?id=121454 On the 2014.01 release of

Re: [perl #121326] comparison numerically with non-numeric fails

2014-02-25 Thread Moritz Lenz
On 02/26/2014 02:48 AM, Will Coleda (via RT) wrote: # New Ticket Created by Will Coleda # Please include the string: [perl #121326] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org/Ticket/Display.html?id=121326 Marked as a nom

Re: [perl #79294] [BUG] $*PERLversion should be version of Perl, not version of Rakudo in Rakudo

2014-02-24 Thread Moritz Lenz
On 02/24/2014 09:04 AM, Will Coleda via RT wrote: On Tue Nov 16 16:15:29 2010, masak wrote: TheHarlot rakudo: say $*PERL p6eval rakudo 015d77: OUTPUT«name rakudo␤version 2010.10-22- g015d77b␤␤» TimToady $*PERL should be the Perl version, not the rakudo version TimToady the rakudo version

Re: Rough cut at shrinking the GC header

2014-02-06 Thread Moritz Lenz
I've imported those changes into the branch nwc10/feature/gc-header-shrink which might simply review for somebody who feels confident to do it :-) Cheers, Moritz On 02/06/2014 11:52 AM, Nicholas Clark wrote: Attached is a rough cut at shrinking the GC header. It's tidier than the working

Re: [perl #121072] [PATCH] Use the git protocol instead of https, as the build is breaking in systems where curl-devel packages are not installed(Or more importantly can't be installed, due to various

2014-01-24 Thread Moritz Lenz
On 01/24/2014 05:15 PM, Will Coleda via RT wrote: On Thu Jan 23 22:11:10 2014, arafatkam...@gmail.com wrote: There are other situations where *only* http connections are allowed, and git connections are not (corporate firewalls). I'd like to have some discussion here before it gets

Announce: Rakudo Perl 6 compiler, Development Release #71 (Advent)

2013-12-20 Thread Moritz Lenz
Mattijsen, Timo Paulssen, Jonathan Worthington, Moritz Lenz, Tobias Leich, Larry Wall, Carl Mäsak If you would like to contribute, see http://rakudo.org/how-to-help, ask on the perl6-compiler@perl.org mailing list, or ask on IRC \#perl6 on freenode. The next release of Rakudo (#72), is scheduled

Rakudo Star 2013.11 released

2013-11-24 Thread Moritz Lenz
## A useful, usable, early adopter distribution of Perl 6 On behalf of the Rakudo and Perl 6 development teams, I'm happy to announce the November 2013 release of Rakudo Star, a useful and usable distribution of Perl 6. The tarball for the November 2013 release is available from

Announce: Rakudo Star Release 2013.09

2013-09-26 Thread Moritz Lenz
## A useful, usable, early adopter distribution of Perl 6 On behalf of the Rakudo and Perl 6 development teams, I'm happy to announce the September 2013 release of Rakudo Star, a useful and usable distribution of Perl 6. The tarball for the September 2013 release is available from

Rakudo Star 2013.08 released

2013-08-24 Thread Moritz Lenz
On behalf of the Rakudo and Perl 6 development teams, I'm happy to announce the August 2013 release of Rakudo Star, a useful and usable distribution of Perl 6. The tarball for the August 2013 release is available from http://rakudo.org/downloads/star/. A Windows .MSI version of Rakudo star will

Rakudo Perl 6 compiler, Development Release #67 (Bicycle)

2013-08-22 Thread Moritz Lenz
of our contributors and sponsors for making Rakudo Perl possible, as well as those people who worked on Parrot, the Perl 6 test suite and the specification. The following people contributed to this release: Elizabeth Mattijsen, Jonathan Worthington, Moritz Lenz, Donald Hunter, Tobias Leich, Timo

Re: [perl #118053] cannot specify optional positional with Mu as default

2013-05-19 Thread Moritz Lenz
On 05/19/2013 06:41 PM, Elizabeth Mattijsen (via RT) wrote: # New Ticket Created by Elizabeth Mattijsen # Please include the string: [perl #118053] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=118053

Re: [perl #117235] [BUG] Deep-cloned array loses its original content on .unshift in Rakudo

2013-03-21 Thread Moritz Lenz
On 03/20/2013 10:37 PM, Patrick R. Michaud wrote: On Wed, Mar 20, 2013 at 12:41:41PM -0700, Carl Mäsak wrote: # New Ticket Created by Carl Mäsak # Please include the string: [perl #117235] # in the subject line of all future correspondence about this issue. # URL:

Re: [perl #117235] [BUG] Deep-cloned array loses its original content on .unshift in Rakudo

2013-03-21 Thread Moritz Lenz
On 03/21/2013 01:40 PM, Patrick R. Michaud wrote: On Thu, Mar 21, 2013 at 08:49:42AM +0100, Moritz Lenz wrote: -method sink() { -self.gimme(*, :sink); +method sink(\SELF:) { +SELF.gimme(*, :sink) unless nqp::iscont(SELF); Nil; } } But of course

Re: [perl #117147] doesnt compile under mac 10.8.3

2013-03-14 Thread Moritz Lenz
On 03/13/2013 03:07 PM, herbert breunung (via RT) wrote: # New Ticket Created by herbert breunung # Please include the string: [perl #117147] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=117147 error msg:

Announce: Rakudo Star 2013.02 released

2013-02-24 Thread Moritz Lenz
On behalf of the Rakudo and Perl 6 development teams, I'm happy to announce the February 2013 release of Rakudo Star, a useful and usable distribution of Perl 6. The tarball for the February 2013 release is available from http://rakudo.org/downloads/star/. A Windows .MSI version of Rakudo star

Re: Temporal / delta spec

2013-02-19 Thread Moritz Lenz
Hi Carl, On 02/19/2013 02:03 PM, Carl Franks wrote: S32/Temporal says a DateTime object can be maniplated like so: $dt.delta(44, minutes); Rakudo's core/Temporal.pm contains this: my enum TimeUnit ( :second(1), :seconds(2), :minute(3), :minutes(4), [snip]

Re: [perl #116196] min does not work properly on array of array

2012-12-28 Thread Moritz Lenz
On 12/27/2012 10:22 PM, Patrick R. Michaud wrote: On Mon, Dec 24, 2012 at 09:16:28PM -0800, Tin Y Pang wrote: in rakudo 2012.11, min is not functioning properly with Z ./perl6 -e 'my @a = ([0, -20, 0], [0, -19, -1], [-1, -18, 0], [0, -17, 1], [1, -16, 0], [0, -15, -1], [0, -14, 1], [1, -13,

[perl #77856] [BUG] LTA error message for mistaken uses of '.' for concatenation in Rakudo

2012-12-13 Thread Moritz Lenz via RT
Thanks, I've applied your patch, with a small modification: instead of +token infix:sym.{ '.' [\]\)\},:\s\$'] I've used sym, as all the other operators do: +token infix:sym.{ sym [\]\)\},:\s\$'] I'm wondering, if a testcase should be written to check for a helpful error

Rakudo Star 2012.11 released

2012-11-28 Thread Moritz Lenz
On behalf of the Rakudo and Perl 6 development teams, I'm happy to announce the November 2012 release of Rakudo Star, a useful and usable distribution of Perl 6. The tarball for the November 2012 release is available from http://github.com/rakudo/star/downloads. A Windows .MSI version of Rakudo

Announce: Rakudo Perl 6 compiler development release #55 (Frankfurt)

2012-08-23 Thread Moritz Lenz
test suite and the specification. The following people contributed to this release: Jonathan Worthington, Moritz Lenz, Arne Skjærholt, Geoffrey Broadwell, Will Coke Coleda, Tadeusz Sośnierz, Patrick R. Michaud, Felix Herrmann, Carl Mäsak, kboga, thou, Brian Gernhardt, Stefan O'Rear, GlitchMr, ChoHag

Re: [perl #114388] LAT error when using s[] = rea

2012-08-04 Thread Moritz Lenz
On 08/04/2012 10:38 AM, Jimmy Zhuo (via RT) wrote: # New Ticket Created by Jimmy Zhuo # Please include the string: [perl #114388] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=114388 JimmyZ_ r:

Re: adding line numbers to Test.pm failures

2012-07-22 Thread Moritz Lenz
Hi Gabor, On 07/22/2012 10:44 PM, Gabor Szabo wrote: when something fails Test::More of Perl 5 can tell me which line in the test file it was called. I see the Backtrace module could supply this information. The question if it would be ok if I tried to add this to the Test.pm module? I'd

Re: a method with the name of an attribute creates infinite loop

2012-07-13 Thread Moritz Lenz
Am 13.07.2012 09:07, schrieb Gabor Szabo: Oh, once I found the problem, I just renamed my method. That's ok. The thing is that it would be nice if Rakudo caught this and told me about it as I think I am not the last one to make this error. Well, the ability to create custom accessors is a

Re: accepting incorrect syntax?

2012-07-11 Thread Moritz Lenz
Am 11.07.2012 09:55, schrieb Gabor Szabo: I wonder if the first one is a bug: use v6; my @x = ( { a = 1} {b = 2 } ); say @x.perl; prints Array.new({b = 2}) This is actually correct. It parses as my @x = ( {a = 1}; {b = 2} ); Which is roughly the same as my @x = ( do

Re: no ICU lib loaded - rakudo and parrot issue

2012-06-28 Thread Moritz Lenz
Am 28.06.2012 14:31, schrieb Gabor Szabo: The following script generates an exception use v6; my %count; my $s = 'שלום'; %count{$s} = 1; say $s; say %count.perl; no ICU lib loaded in method perl at src/gen/CORE.setting:3892 in method perl at src/gen/CORE.setting:5921 in method perl

Rakudo Star 2012.05 released

2012-05-23 Thread Moritz Lenz
Announce: Rakudo Star - a useful, usable, early adopter distribution of Perl 6 On behalf of the Rakudo and Perl 6 development teams, I'm happy to announce the May 2012 release of Rakudo Star, a useful and usable distribution of Perl 6. The tarball for the May 2012 release is available from

Re: sound distribution practices

2012-04-09 Thread Moritz Lenz
On 04/09/2012 09:10 PM, Alessandro Ghedini wrote: On Sun, Apr 08, 2012 at 08:42:21PM +0200, Moritz Lenz wrote: On 04/08/2012 06:53 PM, Alessandro Ghedini wrote: On Sun, Apr 08, 2012 at 11:09:30AM -0500, Patrick R. Michaud wrote: On Sun, Apr 08, 2012 at 03:23:26PM +0200, Alessandro Ghedini

Re: sound distribution practices

2012-04-08 Thread Moritz Lenz
On 04/08/2012 06:53 PM, Alessandro Ghedini wrote: On Sun, Apr 08, 2012 at 11:09:30AM -0500, Patrick R. Michaud wrote: On Sun, Apr 08, 2012 at 03:23:26PM +0200, Alessandro Ghedini wrote: On Sat, Apr 07, 2012 at 09:08:21PM -0400, Andrew Whitworth wrote: Btw, this also applies to NQP bundling

Re: Not Quite Perl

2012-04-03 Thread Moritz Lenz
(follow-up to perl6-compil...@perl.org) Am 03.04.2012 10:02, schrieb Daniel Carrera: I've been reading a little about NQP (Not Quite Perl). I was wondering if NQP is part of the Parrot project, or if it is an independent spec. NQP exists in several versions. The earliest version lived in the

Re: Not Quite Perl

2012-04-03 Thread Moritz Lenz
Am 03.04.2012 11:24, schrieb Daniel Carrera: Ok. I just scanned the Wikibook on NQP. Indeed, it is quite limited. It lacks basic things like list context: @a := (1,2,3,4); # Wrong. It's a shame because lists is precisely what I wanted to work with. But this works: @a := [1, 2, 3, 4]

Re: [perl #112216] slicing a string with inifinite ranges gives LTA error message

2012-04-03 Thread Moritz Lenz
On 04/03/2012 06:44 PM, Patrick R. Michaud via RT wrote: On Tue Apr 03 01:24:47 2012, moritz wrote: 10:23 timotimo r: say foo[1..*] 10:23 +p6eval rakudo 8ead1e: OUTPUT«Method 'gimme' not found for invocant of class 'Str'␤ in method postcircumfix:[ ] at

Re: [perl #112216] slicing a string with inifinite ranges gives LTA error message

2012-04-03 Thread Moritz Lenz
On 04/03/2012 11:16 PM, Patrick R. Michaud wrote: On Tue, Apr 03, 2012 at 09:22:11PM +0200, Moritz Lenz wrote: On 04/03/2012 06:44 PM, Patrick R. Michaud via RT wrote: On Tue Apr 03 01:24:47 2012, moritz wrote: 10:23 timotimo r: say foo[1..*] 10:23 +p6eval rakudo 8ead1e: OUTPUT«Method

Re: [perl #111704] try BLOCK messes up $_ when used in statement-modifying contextualizers

2012-03-13 Thread Moritz Lenz
Now tested in S04-statements/try.t Cheers, Moritz Am 13.03.2012 10:55, schrieb Moritz Lenz (via RT): # New Ticket Created by Moritz Lenz # Please include the string: [perl #111704] # in the subject line of all future correspondence about this issue. #URL: https://rt.perl.org:443/rt3/Ticket

Re: [perl #111646] infix~ reports an arity of 2 even though it accepts 2

2012-03-09 Thread Moritz Lenz
Golfed even further: 09:44 moritz nom: multi a($, $) { }; say a.arity 09:44 +p6eval rakudo 4235df: OUTPUT«1␤» Seems the arity calculation is generally a bit off Am 09.03.2012 09:41, schrieb Moritz Lenz (via RT): # New Ticket Created by Moritz Lenz # Please include the string: [perl #111646

Re: [perl #111646] infix~ reports an arity of 2 even though it accepts 2

2012-03-09 Thread Moritz Lenz
Further analysis: the problem is that Signature.count counts the (|$) from the proto as a single positional. The obvious fix from http://moritz.faui2k3.org/tmp/arity.patch doesn't work, because List.munch then gets a Num argument, which blows up during unboxing.

Re: [perl #111492] [BUG] LTA error message when a 'sub foo' declaration is not succeeded by block curlies

2012-03-02 Thread Moritz Lenz
FWIW my commit 6588dd39 is to blame; now trying to find out why... On 03/02/2012 08:09 PM, Carl MXXsak (via RT) wrote: # New Ticket Created by Carl Mäsak # Please include the string: [perl #111492] # in the subject line of all future correspondence about this issue. # URL:

Announce: Rakudo Perl 6 compiler development release #48 (Toronto)

2012-01-22 Thread Moritz Lenz
to this release: Jonathan Worthington, Moritz Lenz, Kris Shannon, Tadeusz Sośnierz, kboga, Carl Masak, Bruce Gray, Solomon Foster, Geoffrey Broadwell, not_gerd, wollmers. If you would like to contribute, see http://rakudo.org/how-to-help, ask on the perl6-compiler@perl.org mailing list, or ask on IRC #perl6

Re: [perl #74654] [BUG] '$b()' is parsed wrongly by Rakudo

2012-01-13 Thread Moritz Lenz
Am 11.01.2012 16:46, schrieb Will Coleda via RT: On Tue Aug 17 21:54:31 2010, coke wrote: On Sun Apr 25 07:22:56 2010, masak wrote: JimmyZ masak: alpha is diferent from rakudo JimmyZ masak: which one is right? JimmyZ alpha: my $b =time; say$b(); p6eval alpha 30e0ed:

Re: [perl #108160] [BUG] Null PMC access when binding hash slice in Rakudo

2012-01-13 Thread Moritz Lenz
Fixed now, and tested in S03-operators/binding-hashes.t Am 13.01.2012 15:50, schrieb Carl MXXsak (via RT): # New Ticket Created by Carl Mäsak # Please include the string: [perl #108160] # in the subject line of all future correspondence about this issue. #URL:

Re: [perl #106832] [BUG] Failure objects don't expose their underlying exceptions, except by re-throwing them

2011-12-22 Thread Moritz Lenz
Now fixed, and tested in t/spec/S04-exceptions/fail.t On 12/22/2011 04:13 PM, Carl MXXsak (via RT) wrote: # New Ticket Created by Carl Mäsak # Please include the string: [perl #106832] # in the subject line of all future correspondence about this issue. # URL:

Announce: Rakudo Perl 6 compiler development release #47 (Columbus)

2011-12-22 Thread Moritz Lenz
test suite and the specification. The following people contributed to this release: Jonathan Worthington, Moritz Lenz, Will Coke Coleda, Michael Schroeder, Tadeusz Sośnierz, Solomon Foster, Zohar Kelrich, diakopter, JimmyZ, Jonathan Scott Duff, Geoffrey Broadwell, Woodi If you would like

Re: very long perl6 step

2011-10-20 Thread Moritz Lenz
Am 19.10.2011 16:03, schrieb Richard Hainsworth: The update stalled (I thought) at the step using per6 to build the setting. Turned out just to be a VERY slow step. I suggest a notification is included in the make file saying the step is slow. I can do that, but I'd like to wait until after

Re: [perl #78626] Patch: support higher arity in reduce()

2011-10-13 Thread Moritz Lenz
Am 13.10.2011 06:01, schrieb smos...@loveandhotsauce.net: That's fine, I think it was already shot down owing to the supposedly dubious utility of supporting higher arities in .reduce() By the way, I submitted the patch because the error message had (and still has) the for now wording when you

Announce: Rakudo Perl 6 compiler development release #43 (Beijing)

2011-07-21 Thread Moritz Lenz
list of changes, see docs/ChangeLog. The development team thanks all of our contributors and sponsors for making Rakudo Perl possible, as well as those people who worked on Parrot, the Perl 6 test suite and the specification. The following people contributed to this release: Moritz Lenz, Patrick R

Re: rakudo :sigspace interpretation, [ |a] vs [a| ]

2011-05-06 Thread Moritz Lenz
On 05/06/2011 02:10 PM, Carl Mäsak wrote: Patrik (): Your link seems to specifiy how empty patterns are illegal. However, reading the :sigspace definition, I assume that rule {[ |a]+} is eqivalent to token {[.ws|a]+}, which not contains any empty pattern. I find nothing in the spec that

Re: [perl #86906] Parser not panicking in Grammar.pm

2011-03-24 Thread Moritz Lenz
Am 24.03.2011 05:00, schrieb Timothy Bollman (via RT): Location of Error: Grammar.pm line 2158 (as of ~5:00 AM UTC on March 23): if +@parts != 2 { self.panic(Unable to find starter and stopper from '$opname'); } Short description of error: self.panic isn't... panicking. Thanks for the

Re: [perl #86338] [BUG] Proper type checking not done in generic method signatures in Rakudo

2011-03-17 Thread Moritz Lenz
Am 16.03.2011 21:58, schrieb Carl MXXsak (via RT): masak rakudo: role R[::T] { multi method foo(::T $x) { say $x } }; class C does R[Str] does R[Int] {}; C.new.foo(5.5) # should fail, right? Note that T would be the type, ::T is a type capture - it (hopefully lexically) rebinds T to the type

Re: [perl #83866] IO::Socket::INET Couldn't create socket.

2011-03-17 Thread Moritz Lenz
Today I pushed a completely new socket implementation, which is much closer to p5's IO::Socket::INET, and IMHO has a much saner interface. For a client, write my $c = IO::Socket::INET.new(:host('http://rakudo.org/'), :port(80)); # no separate .open call necessary. For a server, write my $s =

Re: [perl #83498] [PATCH] for #82142:

2011-02-07 Thread Moritz Lenz
And as an actual patch: --- a/src/Perl6/Grammar.pm +++ b/src/Perl6/Grammar.pm @@ -1477,6 +1477,7 @@ token quote:syms { } .setup_quotepairs [ +| '/' \s* '/' .panic: Null regex in substitution not allowed | '/' p6regex=.LANG('Regex','nibbler') ?[/] quote_EXPR: ':qq'

Re: [perl #83356] [BUG] exporting infix:+ fails from simple class

2011-02-05 Thread Moritz Lenz
On 02/04/2011 08:51 PM, Solomon Foster wrote: On Fri, Feb 4, 2011 at 7:29 AM, Moritz Lenz via RT perl6-bugs-follo...@perl.org wrote: Am 04.02.2011 05:04, schrieb Solomon Foster (via RT): # New Ticket Created by Solomon Foster # Please include the string: [perl #83356] # in the subject line

Re: [perl #83356] [BUG] exporting infix:+ fails from simple class

2011-02-04 Thread Moritz Lenz
Am 04.02.2011 05:04, schrieb Solomon Foster (via RT): # New Ticket Created by Solomon Foster # Please include the string: [perl #83356] # in the subject line of all future correspondence about this issue. #URL: http://rt.perl.org/rt3/Ticket/Display.html?id=83356 If I have this: class A

Re: [perl #83280] [BUG] Hyper += works incorrectly on an uninitialised array

2011-02-03 Thread Moritz Lenz
Am 03.02.2011 03:30, schrieb S. Schulze (via RT): When using a hyper += to fill in values in an array, you get different behaviours depending on whether the array has been initialised or not. Since hyper operators are generally sensitive to the shape of the data structures they work on, I

Re: [perl #82638] statement after nested if breaks fails to parse without newlines

2011-01-24 Thread Moritz Lenz
Am 23.01.2011 07:48, schrieb Stephen Simmons (via RT): # New Ticket Created by Stephen Simmons # Please include the string: [perl #82638] # in the subject line of all future correspondence about this issue. #URL: http://rt.perl.org/rt3/Ticket/Display.html?id=82638 I've attached two programs,

Re: [perl #82638] statement after nested if breaks fails to parse without newlines

2011-01-24 Thread Moritz Lenz
On 01/24/2011 02:22 PM, Stephen Simmons wrote: So = needs to be surrounded by whitespace? Yes. Is that true of all infix operators? Only for those that could be parsed as postfixes or postcircumfixes. But in general it's a good idea to use whitespace around all infix operators. Cheers,

Re: [perl #82312] [PATCH] optimized Range for getting its size if its a numeric range

2011-01-17 Thread Moritz Lenz
On 01/16/2011 07:47 PM, Gilbert R. Roehrbein (via RT) wrote: fixes the problem which you encounter when you try to evaluate +(23..23) ... and creates others. Consider (0..^3.3).Numeric Where you patch makes it return 3, but 4 is the correct answer. Maybe checking for ~~ Int instead

Re: Error on parrot build: gmake: *** [runtime/parrot/include/config.fpmc] Error -1073741819

2011-01-16 Thread Moritz Lenz
I'm forwarding this to the parrot folks in the hopes that they have a better idea of what might be going on. Cheers, Moritz On 01/16/2011 12:02 AM, Peter Schwenn wrote: Perl 6'rs I'm gmake'ing parrot under Windows 7 64-bit, preparatory to building rakudo. I'm using the latest parrot and

Re: Method 'Bool' not found for invocant of class 'Integer'

2011-01-04 Thread Moritz Lenz
Am 04.01.2011 03:05, schrieb Nathaniel: OK: I get this message when running a .pir file from an embedded parrot interpreter, but not when I actually call parrot from a command line. My guess is that there is perhaps a .pbc file missing from the area where I have set up a runtime directory

Re: Error right at the end of a Rakudo Star build

2010-12-11 Thread Moritz Lenz
Hi Peter, On 12/11/2010 10:40 PM, Peter Schwenn wrote: 2 [main] parrot 3756 C:\rakudo\parrot\parrot.exe: *** fatal error - unable to remap \\?\C:\rakudo\parrot\runtime\parrot\dynext\os.dll to same address as parent: 0x32 != 0x34 That looks like a general cygwin problem, if

Re: [PATCH] typo fix for spec S05

2010-11-22 Thread Moritz Lenz
Am 22.11.2010 08:39, schrieb Hongwen Qiu: -argument vary faster than the left. In other words, C and C|| establish +argument very faster than the left. In other words, C and C|| establish Although it looks like a typo, to vary is indeed the correct verb here (means as much as changes

Re: Unable to build Rakudo - make fails on perl6-grammar.pir with 'Killed'

2010-11-19 Thread Moritz Lenz
Hi, thanks for your report Am 19.11.2010 09:24, schrieb Ian Kent: I've been trying to build Rakudo from source using Ubuntu Server 10.10. Configure.pl ran successfully but running make always ends with the following error: make: *** [src/gen/perl6-grammar.pir] Killed Am I doing something

Re: Naive implementation of Str.samespace

2010-10-14 Thread Moritz Lenz
Hi, thank you very much for the submission, it is greatly appreciated. We received a second one by IRC, and I plan to compare the two (and maybe benchmark), and then take the better and/or faster. Cheers, Moritz On 10/09/2010 11:58 AM, Karthik wrote: This is my first try at coding in perl6. I

feather.perl6.nl temporarily down

2010-09-30 Thread Moritz Lenz
Hi, in a data center in the beautiful Netherlands, a power supply unit decided to end its existence in a cloud of smoke. Thus it's my sad duty to announce that feather.perl6.nl, the Perl 6 development server, is currently down. Two of the virtual hosts (which among other things host the

Announce: Rakudo Perl 6 compiler development release #33 (Milan)

2010-09-23 Thread Moritz Lenz
possible, as well as those people who worked on Parrot, the Perl 6 test suite and the specification. The following people contributed to this release: Moritz Lenz, Patrick R. Michaud, Carl Masak, Patrick Abi Salloum, Solomon Foster, Kodi Arfer, chromatic, Kyle Hasselbacher, Bruce Gray, Martin

Rakudo smoke reports

2010-09-16 Thread Moritz Lenz
Hi, thanks to Jonathan Leto and the awesome OSUOSL folks, we have a smoke server again. At your convenience, please update to the newest Rakudo HEAD, reconfigure and then run $ make spectest_smolder The reports can be inspected at http://smolder.parrot.org/app/projects/smoke_reports/5

Re: Rakudo series operator interaction with +

2010-09-08 Thread Moritz Lenz
Hi, Am 07.09.2010 21:36, schrieb Aaron Sherman: Oddly, these two expressions have the same output: for 0 ...^ (3+4) - $i { say $i } for 0 ...^ 7 - $i { say $i } But this one prints the numbers 0 through 7 instead of leaving off the last number: for 0 ...^ 3+4 - $i { say $i } Please

Re: Could not find sub !UNIT_OUTER

2010-08-27 Thread Moritz Lenz
Hi a b, a b wrote: # perl6 --target=pir test.p6 test.pir # parrot prog.pir error:imcc:syntax error, unexpected PREG, expecting '(' ('$P67') in file 'prog.pir' line 36 Patrick Michaud fixed this at YAPC::EU, a bare week after the Rakudo Star 2010.07 got released. An incentive for

  1   2   3   >