Grammar doesn't seem to match any token

2018-09-23 Thread Mark Carter
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   ($/)

Re: Fwd: Re: Is win 32 being worked on?

2017-07-25 Thread Mark Carter
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.

Fwd: Re: Is win 32 being worked on?

2017-07-25 Thread Mark Carter
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

Re: Announce: Rakudo Star Release 2017.07

2017-07-25 Thread Mark Carter
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

Re: Is win 32 being worked on?

2017-07-21 Thread Mark Carter
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.

Is win 32 being worked on?

2017-07-21 Thread Mark Carter
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?

Why is my class rejecting new()?

2017-07-20 Thread Mark Carter
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

Re: Where's the filter command?

2017-07-18 Thread Mark Carter
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; } ;

Where's the filter command?

2017-07-18 Thread Mark Carter
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.

Re: Is there a bash/shlex-like processor with double-quotes handling?

2017-07-14 Thread Mark Carter
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 bash/shlex-like processor with double-quotes handling?

2017-07-14 Thread Mark Carter
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")

Re: Perl6 NCurses module under Arch: libncursesw.so.6

2017-04-18 Thread Mark Carter
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.

Perl6 NCurses module under Arch: libncursesw.so.6

2017-04-12 Thread mark carter
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

[perl #130339] make install failure on rakudo star 2016.11

2016-12-14 Thread mark carter
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).

Re: [perl #130339] make install failure on rakudo star 2016.11

2016-12-14 Thread mark carter
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).

Re: [perl #130339] AutoReply: make install failure on rakudo star 2016.11

2016-12-14 Thread mark carter
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).