"it's the level of vulgarity you'd expect from a guy called S***ov."
... and know it's getting personal... -.-
Erez Schatz schrieb am Do., 5. Dez. 2019, 11:42:
> it's the level of vulgarity you'd expect from a guy called S***ov.
>
> But seriously, it's nothing you won't see on basic cable or
Hi, if you let raukdo automatically rebuild nqp/moar, then you still
were on an old revision of moarvm.
This revision did not contain the latest patch.
Please rebuild now, as I've updated the git revisions, so latest nqp and
moarvm get build.
Am 15.11.2016 um 18:14 schrieb Brandon Allbery:
PR was merged and test got added:
https://github.com/MoarVM/MoarVM/pull/357
https://github.com/perl6/roast/commit/67c494ced2
Thanks to all involved!
Hi, I removed the obvious false-positives from the list.
I'll open tickets by categroy of the errors.
Thank you very much!
Am 15.10.2016 um 17:26 schrieb Dmitry Karasik:
Dear all,
I've had access to a of C/C++ static analysis tool PVS Studio,
and ran it against the latest rakudo sources
Fixed with:
https://github.com/MoarVM/MoarVM/commit/688796b434
https://github.com/rakudo/rakudo/commit/a92f092ac5
The error message now reads:
$ perl6 -e 'class Foo is repr { has Buf $.a }'
===SORRY!=== Error while compiling -e
CStruct representation only handles attributes of type:
(u)int8,
This issue is fixed if you configure MoarVM with --has-libffi as of today.
(You need of course the libffi-dev package installed.)
This bug is no more, closing.
You get 8 there because an array is a pointerish thing...
Btw, this:
my $not-null = CArray[int32].new
is not the same as this:
int a[3];
So, we would need fixed sized native arrays here to tell the truth.
Am 10.09.2016 um 20:53 schrieb Brandon Allbery via RT:
> On Sat, Sep 10, 2016 at
You get 8 there because an array is a pointerish thing...
Btw, this:
my $not-null = CArray[int32].new
is not the same as this:
int a[3];
So, we would need fixed sized native arrays here to tell the truth.
Am 10.09.2016 um 20:53 schrieb Brandon Allbery via RT:
On Sat, Sep 10, 2016 at 10:11
Hi, the $.vtable Pointer is just there to allocate more space for the
CPPStruct, and to properly align the struct attributes.
C++ itself cares about the vtable, not NativeCall.
What would help to fix any issues would be to prove a sample code in the
style of the rakudo/t/04-nativecall/*
These patches fix and test the remaining issue:
https://github.com/rakudo/rakudo/commit/d0a00164e9
https://github.com/perl6/roast/commit/716b94f7ff
Hi, can I get verbose output please?
Patch: https://github.com/rakudo/rakudo/commit/42fb81d3b7
Tagging testneeded
As mentioned it is syntactically legal, therefore the syntax chek reports OK.
It fails at runtime though, which is to be expected.
A compiler time error always prints this as the first line:
===SORRY!===
As mentioned it is syntactically legal, therefore the syntax chek reports OK.
It fails at runtime though, which is to be expected.
A compiler time error always prints this as the first line:
===SORRY!===
Patch: https://github.com/MoarVM/MoarVM/commit/79dce1101b
I hesitate to put a test for this in...
Closing as resolved anyway.
Closing as resolved.
Patches and test:
https://github.com/MoarVM/MoarVM/commit/ada3752a81
https://github.com/rakudo/rakudo/commit/a8f407cccd
Resolving ticket as fixed.
Hi, can you please check if it is still broken?
The patch in https://github.com/rakudo/rakudo/commit/505dc4fa should fix it.
Hi, please consider using this slang which will most likely give you what you
need:
https://github.com/FROGGS/p6-Slang-Tuxic
But the short answer here is that the function call syntax wont change anymore.
Some examples that would break when we would change it:
if( # would not introduce a
As a rule of thumb:
Every non-Letter character after the opening angle bracket makes it
non-capturing.
Am 22.02.2016 um 11:37 schrieb Theo van den Heuvel:
Thanks Patrick,
it works great.
Theo
Patrick R. Michaud schreef op 2016-02-22 11:16:
Dynamic subregexes such as <$top> are
Thanks to Steve Mynott a Mac OS X installer is now available.
This installer has the ".dmg" file extension and is available from
http://rakudo.org/downloads/star/.
Btw, rakudobrew, rakudo via git and star are *not* installing to
/usr/local/bin/.
rakudo via git and star install to ./install. But support the --prefix
option to override this as shown.
Am 05.02.2016 um 08:27 schrieb Steve Mynott:
From the recently updated http://www.perl6.org/downloads/
The Windows MSI installers are now available, coming again in two versions.
One installer targets x86 (32bit) platforms, and the other installer
targets x86_64 (64bit)
platforms (probably Windows 7 or better). Only the version for x86_64
comes with JIT enabled.
The two MSIs are available from
# Announce: Rakudo Star Release 2016.01
## A useful and usable production distribution of Perl 6
On behalf of the Rakudo and Perl 6 development teams, I'm happy to announce
the January 2016 release of "Rakudo Star", a useful and usable production
distribution of Perl 6. The tarball for the
Does that mean that we *always always always* have a gcc binary?
Can't we do something like this[^1] on darwin also?
[^1] https://github.com/MoarVM/MoarVM/blob/master/build/setup.pm#L445
Like, checking for the existance of clang, and falling back to gcc?
But the shown exit of "0" would be correct, no?
I guess we want to show more information when we cannot compile the test
scripts using the compiler we guessed
Am 14.01.2016 um 01:31 schrieb ToddAndMargo:
On 01/13/2016 12:51 PM, David H. Adler wrote:
On Wed, Jan 13, 2016 at 12:50:19PM -0800, ToddAndMargo wrote:
Hi All,
I have written myself several Perl 5 modules (.pm).
Is there a way to call them from Perl6? Or should I
must I rewrite them?
seTag> / { # ...
This is alled a "regex assertion".
Am 12.01.2016 um 20:59 schrieb ToddAndMargo:
On 01/11/2016 11:24 PM, Tobias Leich wrote:
hi, what's in ${BaseTag}? Is it a regex rule or just a plain string?
(Because that matters in Perl 6)
It is a string and can vary.
Would you
hi, what's in ${BaseTag}? Is it a regex rule or just a plain string?
(Because that matters in Perl 6)
Am 12.01.2016 um 01:55 schrieb ToddAndMargo:
Hi All,
Would yo all terribly mind if I ask how to do this Perl 5 regex
in Perl 6? (I learn best by example.)
if ( $ClickLine =~ /aes256/ and
I am working on it, and made some progress yesterday.
I hope to ship it soon.
Am 06.01.2016 um 01:57 schrieb Parrot Raiser:
There doesn't seem to be a tarball for rakudo star 2015.12. Is that
going to be skipped?
Hi,
$foo:bar and Foo:bar are variable/package names with an colonpair
appended. The entire thing is then called a longname, at least internally.
Test:ver(v1) makes it clearer what it does. You $abc:def example boils
down to $abd:def(True) btw.
Am 06.01.2016 um 12:24 schrieb mt1957:
L.s.
I still think that language modules like Inline::* or v5 need to
register itself. Which means, you'd use such a module before doing the
EVAL so the EVAL knows what module handles the requested language.
Am 06.01.2016 um 14:40 schrieb Zoffix Znet (via RT):
# New Ticket Created by Zoffix Znet
Yes, that's how you get a Match variable.
libuv does not like to build here, which is a dependency of MoarVM.
Though, that does not mean that we cannot do something about that.
That highlights the bug:
m: my uint8 $x = 255; print $x, " -> "; $x = $x + 1; say $x;
rakudo-moar 0f26ae: OUTPUT«255 -> 0»
m: my uint8 $x = 255; print $x, " -> "; $x++; say $x;
rakudo-moar 0f26ae: OUTPUT«255 -> 256»
Am 04.01.2016 um 11:48 schrieb Elizabeth Mattijsen:
On 04 Jan 2016, at
Would be nice if someone could reproduce also.
Am 04.01.2016 um 14:38 schrieb Parrot Raiser:
Could the jumps to >1 seconds be explained by automatic pre-compilation taking
place after
you re-compiled rakudo ?
Why would that happen occasionally, after a number of executions of
the same code?
Hi, the first official Perl 6 (the language) release is not called
6.0.0, it is called 6.c.
And this is what has been shipped with the Rakudo compiler release 2015.12.
Cheers, Tobias
Am 27.12.2015 um 20:33 schrieb webmind:
Hiya,
I'm a bit confused, there is a major release for Perl 6, but I
Patches:
https://github.com/rakudo/rakudo/commit/2e4238fbe4
https://github.com/rakudo/rakudo/commit/0d5372fe43
Tests:
https://github.com/perl6/roast/commit/94ee230558
Closing ticket as resolved.
Patch: https://github.com/rakudo/rakudo/commit/95558bb58e
Tests: https://github.com/perl6/roast/commit/ff452eb56a
Closing as resolved.
I can confirm that the alignment is wrong.
To prove, I created this repo: https://github.com/FROGGS/p6-Gumbo
Running `perl6 t` gives:
~/dev/gumbo$ perl6 t/00-structure-sizes.t
1..19
ok 1 - sizeof(size_t)
ok 2 - sizeof(GumboStringPiece)
ok 3 - sizeof(GumboSourcePosition)
ok 4 - sizeof(GumboVector)
The fix for this misalignment is:
https://github.com/MoarVM/MoarVM/commit/7b382acd61
Test got added here: https://github.com/rakudo/rakudo/commit/deeec10a2e
Closing ticket as resolved.
The might be either this:
diff --git a/src/core/args.c b/src/core/args.c
index c4f2696..4772034 100644
--- a/src/core/args.c
+++ b/src/core/args.c
@@ -677,7 +677,7 @@ MVMObject * MVM_args_slurpy_named(MVMThreadContext *tc,
MVMArgProcContext *ctx)
static void flatten_args(MVMThreadContext *tc,
I did run this:
$ valgrind --leak-check=full --show-leak-kinds=all
/home/froggs/dev/nqp/install/bin/moar --execname="$0"
--libpath="/home/froggs/dev/nqp/install/share/nqp/lib"
--libpath="/home/froggs/dev/nqp/install/share/perl6/lib"
Patch: https://github.com/rakudo/rakudo/commit/6063886343
Test: https://github.com/perl6/roast/commit/2dfcd85181
Closing ticket.
Patch by bartolin++:
https://github.com/rakudo/rakudo/commit/4bdc88046ad0289f2708e3195e59df9edc83c258
Another test: https://github.com/perl6/roast/commit/1145029340
Closing ticket.
Patch: https://github.com/rakudo/rakudo/commit/6902d51eb7
Tests: https://github.com/perl6/roast/commit/7f43444370
Closing ticket.
Here are more examples (by novapatch++ via irc):
m: say «நி กำ षि "\r\n"»».chars
rakudo-moar cd7766: OUTPUT«(2 2 2 2)»
I know that some ppl want to do that in future, but as far as I know
these projects are not in a state "planned" or even "started".
And since the semantics might change a little especially until
Christmas, I would not trust a book that is already in the works.
Am 22.10.2015 um 07:55 schrieb Wah
3rdparty is used by the not quite used parrot backend, as well as the
path src/vm/parrot.
So I guess it does make sense to scan the MoarVM repository, but not NQP.
Am 21.10.2015 um 01:47 schrieb Jeffrey Ryan Thalhammer:
> 37 of them come from a path matching /3rdparty/
>
> The rest come from a
Patch: https://github.com/rakudo/rakudo/commit/5d83db3d01
Tests: https://github.com/perl6/roast/commit/51d1a4835f
Closing ticket.
Patch: https://github.com/rakudo/rakudo/commit/5d83db3d01
Tests: https://github.com/perl6/roast/commit/51d1a4835f
Closing ticket.
The design docs indicate that square brackets need to be used, which works with
rakudo:
constant $foo="+"; say :[$foo](3, 4)
rakudo-moar 4b1df7: OUTPUT«7»
So, this is closable with test?
The semantics of push got revised in the meantime, and a new method called
"append" got added:
m: my @a = 1,2,3; my @b; @b.push: @a,; dd @b
rakudo-moar fae01f: OUTPUT«Array @b = [[1, 2, 3],]»
m: my @a = 1,2,3; my @b; @b.push: @a; dd @b
rakudo-moar fae01f: OUTPUT«Array @b = [[1, 2, 3],]»
m:
Added test: https://github.com/perl6/roast/commit/f50149e607
Closing ticket.
Patch: https://github.com/rakudo/rakudo/commit/4b1df7b018
Tests: https://github.com/perl6/roast/commit/0478776107
Closing ticket.
"Coverity Scan Static Analysis - Find and fix defects in your Java,
C/C++, C# or JavaScript open source project for free"
How does that work for code written in NQP?
Cheers, Tobias
Am 17.10.2015 um 00:38 schrieb Jeffrey Ryan Thalhammer:
> Hello everyone-
>
> I'm a longtime Perl5 developer and
Patches:
https://github.com/perl6/nqp/commit/41ab646099
https://github.com/rakudo/rakudo/commit/de4b2b3a87
Tests:
https://github.com/perl6/roast/commit/95ee3272ab
Closing ticket.
Patch: https://github.com/rakudo/rakudo/commit/32d7b08334
Tests: https://github.com/perl6/roast/commit/f665268fde
Closing ticket.
Patch: https://github.com/rakudo/rakudo/commit/32d7b08334
Tests: https://github.com/perl6/roast/commit/f665268fde
Closing ticket.
Patch: https://github.com/rakudo/rakudo/commit/32d7b08334
Tests: https://github.com/perl6/roast/commit/f665268fde
Closing ticket.
Patch: https://github.com/rakudo/rakudo/commit/32d7b08334
Tests: https://github.com/perl6/roast/commit/f665268fde
Closing ticket.
Am 15.10.2015 um 10:47 schrieb Smylers:
> Moritz Lenz writes:
>
>> On 10/13/2015 10:52 AM, Richard Hainsworth wrote:
>>
>>> Following on the :D not :D thread, something odd stuck out.
>>>
>>> On 10/13/2015 03:17 PM, Moritz Lenz wrote:
We have 390+ modules, and hand-waving away all trouble
> * Patrick R. Michaud (pmich...@pobox.com) [151013 01:05]:
>> On Tue, Oct 13, 2015 at 12:32:01AM +0200, Mark Overmeer wrote:
>>> Yes, that what I started realizing when I saw all the pain Perl6 goes to
>>> ignore the existence of a real "undef" in the language. (I follow Perl6
>>> from a short
It seems to segfault in the op getlex when trying to locate
Moving sub foo to within the BEGIN block helps and moving it outside of A gives:
Cannot invoke this object
in method at lib/A.pm6:5
Neither the rakudo optimizer nor spesh seem to be to blame.
Seems to work now that we have DefiniteHOW:
m: sub a() returns Int:U { 42 }; say a
rakudo-moar 8f4e90: OUTPUT«(Int:U)Type check failed for return value; expected
Int:U but got Int in sub a at /tmp/LRo5pcMZof:1 in block at
/tmp/LRo5pcMZof:1»
m: sub a() returns Int:D { Int }; say a
Marked existing tests as related to this ticket:
https://github.com/perl6/roast/commit/5bd83c5b01
Closing ticket.
Patch: https://github.com/rakudo/rakudo/commit/80a3d07235
Tests: https://github.com/perl6/roast/commit/071720b28d
Closing ticket.
Patch: https://github.com/rakudo/rakudo/commit/8f4e908869
Test: https://github.com/perl6/roast/commit/f47d1dab1b
Closing ticket.
Design docs got aligned to rakudo so that method calls on blocks just do what
one would expect.
Patch: https://github.com/perl6/specs/commit/d1d502fb71
Tests: https://github.com/perl6/roast/commit/95a28225ed
Closing ticket.
Two more tests: https://github.com/perl6/roast/commit/51332a9ae1
I don't think that we should mix two concepts here.
The type constraint of an attribute just tells us what types/subsets are
allowed to be contained in the attribute.
That an attribute should be passed when instantiating an object (maybe passed
but undef?) is another story. And this has not
Added tests:
https://github.com/perl6/roast/commit/fca109de6c
https://github.com/perl6/roast/commit/6e66b7a18d
Closing ticket.
This fixes reporting the file and line number:
https://github.com/rakudo/rakudo/commit/164953b3de
This fixes it:
https://github.com/rakudo/rakudo/commit/164953b3de
Tagging testneeded.
Test: https://github.com/perl6/roast/commit/73fc8c3d37
Closing ticket.
Patch: https://github.com/rakudo/rakudo/commit/8dd74406e6
Tagging testneeded.
jnthn: I think we want to do it at MOP level in the future, if nothing else for
speed.
jnthn: I think we should force an initializer on :D'd things. .new is a bad
default. Try this: `class C { has $.x = rand }; for ^5 { my C:D $foo; say
$foo.x }`
jnthn: also we totally drop the thing on the
I come to the conclusion that making $foo.="bar"() work is more useful than
complaining about a potential P5ism.
So, patch and tests are here:
https://github.com/rakudo/rakudo/commit/98d9b87aaa
https://github.com/perl6/roast/commit/5f82bde7e0
Closing ticket.
Patch: https://github.com/rakudo/rakudo/commit/f52f0db3fb
This is fixed so far.
Patches:
https://github.com/perl6/nqp/commit/ada83f20892d3d027a0ac5e537ab1b111db1968e
https://github.com/perl6/nqp/commit/8402ce098192cdfe57bd438781d9f1322f63273c
Fixed tests:
https://github.com/perl6/roast/commit/eec7994c1f
Itemization helps:
m: my %h = x => 6, y => 7; my @a = $%h; say @a[0]
rakudo-moar 0132b6: OUTPUT«x => 6, y => 7»
m: my %h = x => 6, y => 7; my @a; @a.push: $%h; say @a[0]
rakudo-moar 0132b6: OUTPUT«x => 6, y => 7»
Am 26.09.2015 um 07:58 schrieb Gabor Szabo:
> In the first two cases the hash
You need to upgrade HTTP::Easy, it already contains a fix.
Am 26.09.2015 um 12:26 schrieb Gabor Szabo:
> And just to clarify launching this simple script (and then accessing
> it via a browser) would show the same problem:
>
> use lib 'lib';
>
> use Bailador;
>
> get '/' => sub {
> "hello
Hi, that your example was working was an accident.
It is either:
require "path/to/Foo.pm";
- or -
require ::("Foo");
Cheers, FROGGS
Am 26.09.2015 um 06:47 schrieb Gabor Szabo:
> Hi,
>
> I am really glad Rakudo finally came out.
> I've installed in and tried to run the tests of Perl6::Maven.
>
>
sort accepts something callable with an arity of 2.
Subroutines, blocks and pointies will do:
say sort { $^a cmp $^b }, 5, 3, 2, 6, 4
OUTPUT«(2 3 4 5 6)»
say sort { $^left cmp $^right }, 5, 3, 2, 6, 4
OUTPUT«(2 3 4 5 6)»
say sort -> $a, $b { $a cmp $b }, 5, 3, 2, 6, 4
OUTPUT«(2 3 4 5 6)»
Thing is that you do not redirect, you capture the streams.
So if you capture out, you need to read the output and close it. The
return value of close will then tell you the right exit code.
Please try $*DISTRO.cur-sep.
Am 08.09.2015 um 18:19 schrieb Marc Chantreux:
> hello,
>
> on Linux 3.19.0-16, using perl6 version 2015.07.2 built
> on MoarVM version 2015.07. i tested
>
>
> $ PERL6LIB=lib\;../dnsmanager-v6/lib perl6 t/basic.t
>
> ===SORRY!===
> Could not find X::html in
The Windows MSI installers are now available, coming again in two versions.
One installer targets x86 (32bit) platforms, and the other installer targets
x86_64 (64bit) platforms (probably Windows 7 or better).
Only the version for x86_64 comes with JIT enabled.
The two MSIs are available from
# A useful, usable, early adopter distribution of Perl 6
On behalf of the Rakudo and Perl 6 development teams, I'm happy to
announce the June 2015 release of Rakudo Star, a useful and usable
distribution of Perl 6. The tarball for the June 2015 release is
available from
Hi, that is a very interesting use case, and IMO a very valid one.
Currently the semantics are, to also explain the correct syntax of the
pair that follows a 'use NAME':
:authBar and :ver1.2 etc are of type Pair. Wenn the compiler hits a
use statement, it smartmatches
the distribution's
Hi, you might use this:
say $*DISTRO.cur-sep
rakudo-moar 228168: OUTPUT«,»
Am 08.06.2015 um 21:17 schrieb Brandon Allbery:
On Mon, Jun 8, 2015 at 3:09 PM, Fields, Christopher J
cjfie...@illinois.edu mailto:cjfie...@illinois.edu wrote:
I had the same problem recently, tied to the
Hi, when you install latest MoarVM, you can do this:
$ perl6 -e 'use NativeCall; class Foo is reprCStruct { has str $.bar
is rw }; my $foo = Foo.new(bar = bar); say $foo; $foo.bar = baz;
say $foo'
Foo.new(bar = bar)
Foo.new(bar = baz)
Note the lowercase str type.
The normal Str type can be set
Please also take a look at $*EXECUTABLE, $*PROGRAM and $*PROGRAM_NAME.
Am 30.05.2015 um 15:00 schrieb Tom Browder:
I finally found the Perl 6 version of Perl 5's $0 listed in:
tablets.perl6.org/appendix-b-grouped.html#special-variables
as '$*EXECUTABLE_NAME', and I expected it to act the
Worthington, Tobias Leich, Sterling Hanenkamp,
Arne Skjærholt, Paul Cochrane, Larry Wall, Rob Hoelz, Carl Masak, raydiak,
Timo Paulssen, Christian Bartolomäus, Will Coke Coleda, Bart Wiegmans,
Moritz Lenz, Jonathan Stowe, skids, Pepe Schwarz, Brent Laabs, Steve Mynott,
Jeffrey Goff, Solomon Foster
We precompile modules using a command line option like in: 'perl6
--target=mbc --output=foo.pm.moarvm'.
Though, since this is for modules, only this incantation will work:
'perl6 -I. -Mfoo -e1'
We are working on creating executables such as 'foo.exe' from a given
Perl 6 script, though I expect
Btw, this error pops up when the X::Panda symbol disappears for some
weird reason. And then the parser thinks it is a sub instead of a type.
Am 18.05.2015 um 09:28 schrieb Moritz Lenz:
On 05/18/2015 04:07 AM, Rob Hoelz (via RT) wrote:
# New Ticket Created by Rob Hoelz
# Please include the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
The comment in INTERPOLATE is about subcaptures... but if you do not
capture the interpolated regex itself, you break that chain.
Am 17.04.2015 um 04:34 schrieb Nathan Gray:
On Wed, Apr 15, 2015 at 09:45:39PM -0400, Nathan Gray wrote:
I had given
Hi, a Makefile, Changelog and MANIFEST or LICENSE files belong into the
root directory, and should not be removed.
Module that you write for tests might go under t/lib. Other files like
media files that shall be installed should be in resource or share.
Am 21.03.2015 um 16:51 schrieb Tom Browder:
if $obj.^can($method_name) {...
Am 20.03.2015 um 19:38 schrieb Tom Browder:
I am trying to create a testing subroutine to detect if a class object
has a certain method.
I want it to look something like this:
my $obj = Foo.new();
can_ok($obj, 'method1');
sub can_ok($obj, Str
1 - 100 of 147 matches
Mail list logo