Re: [perl #122650] rakudo-moar build missing dependencies

2015-01-02 Thread Will Coleda
The problem is that perl6-m is a generated file. So if you copy perl6-m to perl6, and then generate a new perl6-m runner, your version of perl6 is not the up to date version. The runner isn't something that changes on a regular basis, but the dependency still need to be there. On Fri, Jan 2, 20

[perl #93988] [BUG] LTA error for number ending in a dot in Rakudo

2015-01-02 Thread Christian Bartolomaeus via RT
Current behaviour: $ ./viv -c -e '5.' ===SORRY!=== Decimal point must be followed by digit at (eval) line 1: --> 5.⏏ Unsupported use of . to concatenate strings; in Perl 6 please use ~ at (eval) line 1 (EOF): --> 5.⏏ Parse failed $ perl6 -e '5. ' ## note the whitespace after the dot ==

[perl #118397] [BUG] array binding causes failures to be thrown

2015-01-02 Thread Christian Bartolomaeus via RT
AFAIU this looks fine now: $ perl6 -e 'sub foo { X::IO::Dir.new(path=>"a", os-error=>"b").fail }; my @a := foo(); 1' Type check failed in binding; expected 'Positional' but got 'Failure' in any bind_error at src/vm/moar/Perl6/Ops.nqp:224 in block at -e:1 The Failure X::IO::Dir is no longer

Re: External call like Capture::Tiny of Perl 5 ?

2015-01-02 Thread Tobias Leich
This is in discussion right now, and since the recent pipe() addition, we have another bit implemented to actually make your proposal work. Though, we've not yet decided where we want to go, how one opens such a pipe or captures stdout/err, or does redirections of said handles... I hope we can sa

External call like Capture::Tiny of Perl 5 ?

2015-01-02 Thread Gabor Szabo
I see there are 'run' and 'shell' functions that return the exit status in Proc::Status, and QX that returns the output. Wouldn't it be better to have a function the returns and object that contains both the status, the stdout and the stderr? e.g. extending Proc::Status to be able to hold those as

[perl #77114] Rakudo parses my %foo XX= 1 but STD does not

2015-01-02 Thread Christian Bartolomaeus via RT
Since said PR was merged recently and the tests in roast are unfudged, I'm closing this ticket. $ perl6 -e 'my %foo XX= 1;' ===SORRY!=== Error while compiling -e Cannot cross with = because list assignment operators are too fiddly at -e:1 --> my %foo XX=⏏ 1;

[perl #77504] [BUG] LTA Failure error message when hash-indexing a non-hash (using either .<> or .{}) in Rakudo

2015-01-02 Thread Christian Bartolomaeus via RT
I added three tests to S02-types/hash.t with commit https://github.com/perl6/roast/commit/a3669d54c5 I'm closing this ticket now.

[perl #120973] [BUG] Cross product with a .map in the rhs yields an empty list in Rakudo

2015-01-02 Thread Christian Bartolomaeus via RT
This works now: $ perl6 -e 'say X .map({$_})' a c a d b c b d $ perl6 -e 'say .map({$_}) X ' a c a d b c b d $ perl6 -e 'say .map({$_}) X .map({$_})' a c a d b c b d I added tests to S03-metaops/cross.t with commit https://github.com/perl6/roast/commit/d3aa62b272 I'm closing this ticket.

Re: Compile a program into moar vm

2015-01-02 Thread Elizabeth Mattijsen
> On 01 Jan 2015, at 19:36, MAX PUX wrote: > > Excuse me but I can't find the documentation. > Is there a way to compile a perl 6 program to moar vm bytecode? > For example from "example.pl" to "example.moarvm". CompUnit.new(‘example.pl’).precomp will create an ‘example.pl.moarvm’. But there’

[perl #122650] rakudo-moar build missing dependencies

2015-01-02 Thread Christian Bartolomaeus via RT
On Thu Oct 02 14:03:42 2014, jn...@jnthn.net wrote: > On Fri Aug 29 06:29:33 2014, coke wrote: > > $ touch src/core/IO.pm > > $ make -j3 > > /Users/williamcoleda/perl6/bin/nqp-m tools/build/gen-cat.nqp moar -f > > tools/build/moar_core_sources > src/gen/m-CORE.setting > > /opt/local/bin/perl5.16 -M