My grammar doesn't seem to match the 'other' rule. What's wrong with it?
grammar Weave {
token TOP { * }
rule el { | | }
rule lt { '<' }
rule tilde { '~' \S+ }
rule other { . }
}
class Weaver {
has Str $.outstr;
method TOP ($/)
On 25/07/2017 20:31, Darren Duncan wrote:
I would question why any desktop computer manufacturers were still
even shipping non-64-bit capable hardware in 2010.
I dual-boot (rarely) with it, and it runs 64-bit Ubuntu. I am using a
Dell, which came with 32-bit Win 7.
On 2017-07-25 11:05 AM, Mark Carter wrote:
On 25/07/2017 18:34, Darren Duncan wrote:
How often would someone reasonably be using a cutting edge tool like Rakudo on
Windows without having a 64 bit Windows these days?
Thing is, I have a computer from 2010, Win 7 32-bit. It's fast e
Attempted build on Arch Linux:
perl Configure.pl --prefix=$HOME/.local --backend=moar --gen-moar --gen-moar
Resulting in:
Building NQP ...
/usr/bin/perl Configure.pl --prefix=/home/mcarter/.local --backends=moar
--make-install
Creating tools/build/install-jvm-runner.pl ...
===SORRY!===
Found
On 21/07/2017 09:50, Todd Chester wrote:
I may be wrong, but I do believe what you want is called
"Rakudo Star". You can download it from
https://rakudo.perl6.org/downloads/star/
But no recent win 32-bit.
I noticed that there is no Windows 32-bit version of rakudo, and it
won't even compile on cygwin.
Are there plans for fixing this?
I have a class definition:
class Etran {
has $.dstamp is rw;
has $.folio is rw;
has $.ticker is rw;
has $.qty is rw;
has $.amount is rw;
has $.desc is rw;
method new($line) {
my ($cmd, $dstamp, $folio, $ticker, $qty, $amount
On 18/07/2017 09:53, Brent Laabs wrote:
Are you looking for grep()? https://docs.perl6.org/routine/grep
Ah yes. Thanks for that.
Pretty good:
say ($schema.lines().map: &shlex-fields).grep: { .elems() > 0; } ;
How do I filter arrays?
So far I can do mapping:
say $schema.lines().map: &shlex-fields ;
How about filtering? I've loked at the docs, but it seems conspicuous by
its absence.
On 14/07/2017 15:23, Lucas Buchala wrote:
Alternatively, the «...» builtin operator already does some kind of
word splitting respecting quotes, if that fits your needs:
Thanks. I take it you are referring to the "hyper" operator (?) It looks
good, but it doesn't quite work:
my $d = "hello
Is there a function that can decompose a string to an array separated by
whitespace, but also respecting double quotes, and prefereably escape
sequences?
So, for example:
my $d="hello \"cruel world\"";
something-something($d) ; => ("hello", "cruel world")
On 18/04/17 15:56, Dominique Dumont wrote:
You should be able to install ncurses 5 on arch:
https://aur.archlinux.org/packages/ncurses5-compat-libs/
NCurses has changed recently to take into account ncurses 6 so that in
future everything should work out of the box. Fingers crossed.
I'm running:
This is Rakudo version 2017.01 built on MoarVM version 2017.01
implementing Perl 6.c.
under Arch.
When I do
$perl6 starfield.pl6
I get:
Cannot locate native library 'libncursesw.so.5': libncursesw.so.5:
cannot open shared object file: No such file or directory
That is because vers
I think I found the cause.
The perl 5 script "prove" was not found. Adding (for me, anyway)
/usr/bin/core_perl
to PATH fixed the issue (as far as I can tell).
I think I found the cause.
The perl 5 script "prove" was not found. Adding (for me, anyway)
/usr/bin/core_perl
to PATH fixed the issue (as far as I can tell).
I think I found the cause.
The perl 5 script "prove" was not found. Adding (for me, anyway)
/usr/bin/core_perl
to PATH fixed the issue (as far as I can tell).
16 matches
Mail list logo