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
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
==
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
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
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
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;
I added three tests to S02-types/hash.t with commit
https://github.com/perl6/roast/commit/a3669d54c5
I'm closing this ticket now.
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.
> 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’
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
10 matches
Mail list logo