Designation: Non-Finmeccanica
Tobias Leich,
To count substitutions with s;g///; I use:
$n = 0;
s:g//{"" if ++$n}/;
Thank you for your help; all resolved.
Peter Schwenn
-Original Message-
From: Schwenn, Peter
Sent: Monday, May 05, 2014 12:24 PM
To: 'perl6-bugs-follo...@perl
# New Ticket Created by David Warring
# Please include the string: [perl #121802]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=121802 >
Here's a slightly golfed version of the prime example from
integration/advent2012-day14
Branch: refs/heads/master
Home: https://github.com/perl6/specs
Commit: 2ac69b952101083b0caa87adfe962385c9e57b02
https://github.com/perl6/specs/commit/2ac69b952101083b0caa87adfe962385c9e57b02
Author: Elizabeth Mattijsen
Date: 2014-05-05 (Mon, 05 May 2014)
Changed paths:
Branch: refs/heads/master
Home: https://github.com/perl6/specs
Commit: e5079f8f19b99824c6b4cd72a37862023ac1f5fc
https://github.com/perl6/specs/commit/e5079f8f19b99824c6b4cd72a37862023ac1f5fc
Author: Elizabeth Mattijsen
Date: 2014-05-05 (Mon, 05 May 2014)
Changed paths:
Branch: refs/heads/master
Home: https://github.com/perl6/specs
Commit: 59480b5e67c46b904f5df645dd9e1d25a6f5d617
https://github.com/perl6/specs/commit/59480b5e67c46b904f5df645dd9e1d25a6f5d617
Author: Timo Paulssen
Date: 2014-05-05 (Mon, 05 May 2014)
Changed paths:
M S17-
Branch: refs/heads/master
Home: https://github.com/perl6/specs
Commit: 2cdc91761e4a99e6a17387efdcd2b5836bf3708c
https://github.com/perl6/specs/commit/2cdc91761e4a99e6a17387efdcd2b5836bf3708c
Author: Elizabeth Mattijsen
Date: 2014-05-05 (Mon, 05 May 2014)
Changed paths:
Designation: Non-Finmeccanica
Dear Tobias Leich,
That works fine and is more accurate than the work around (based on split() )
that I had been using.
Thank you,
perl6-langu...@perl.org
perl6-compi...@perl.org
parrot-us...@lists.parrot.org
Cc:
Bcc:
Message-Id: <1399313885.8...@jnthn.net>
X-Originating-IP: 62.220.188.70
X-Mailer: Webmin 1.550
Date: Mon, 05 May 2014 20:18:05 +0200 (CEST)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="bound139931
Branch: refs/heads/master
Home: https://github.com/perl6/specs
Commit: 082012d644854c687fc9108b51fe0f8bd54ebd7c
https://github.com/perl6/specs/commit/082012d644854c687fc9108b51fe0f8bd54ebd7c
Author: Elizabeth Mattijsen
Date: 2014-05-05 (Mon, 05 May 2014)
Changed paths:
I managed to complete a build in the past 16 hours on a Raspberry Pi
using -fsigned-char (and a lot of swapping)
With the fixes in the previous 4 patches the NQP build still crashes, on
about the third thing run, with a SIGBUS
Fortunately, that turns out to be rather easy to diagnose, particularl
The actual first failure of the build on ARM is not in the Rakudo setting
(which the previous message addresses), but on the very first thing that
NQP tries to build, using a bootstrap .mvm file.
ie, the built MoarVM is bust.
This turns out to be because P6Opaque was ignoring alignment constraint
So, I'm trying to improve MoarVM portability from the current "it works on
both kinds of systems"* by getting it to build on ARM. Being another little
endian system. And it went "boom!" in strange ways.
So, trying to replicate why, I wondered if it's because char on ARM is
unsigned, whereas x86 ch
You ought to be able to test that with something like:
struct {long long N} a;
char b;
struct {long long N} c;
int d;
d=&c - &a; /* I can't remember if you need to cast c & a as char to
get byte distance */
printf("a is at %d, c is at %d, they are %d apart\n",&a,&c, d);
-y
On Sun, May 4, 2014
Branch: refs/heads/master
Home: https://github.com/perl6/specs
Commit: 37196f61184830f0d928429358ec7d4aa65b2a6b
https://github.com/perl6/specs/commit/37196f61184830f0d928429358ec7d4aa65b2a6b
Author: Tim Smith
Date: 2014-05-05 (Mon, 05 May 2014)
Changed paths:
M S05-rege
14 matches
Mail list logo