Announce: Rakudo Perl 6 compiler, Development Release #86 (“Cluj”)

2015-03-19 Thread Tobias Leich
Worthington, Larry Wall, Tobias Leich, ugexe, Alexander Moquin, Moritz Lenz, Timo Paulssen, Pepe Schwarz, Andrew Egeler, Christian Bartolomäus, Kamil Kułaga, Solomon Foster, Geoffrey Broadwell, Jonathan Scott Duff, Paul Cochrane, Carl Masak, Will Coke Coleda, raydiak, Donald Hunter, Stefan Seifert

Re: Function Signatures: Return Types (replace wantarray?)

2015-03-19 Thread Tobias Leich
The multi dispatcher *only* chooses the multi candidate by matching arguments to parameters. The return type is not considered. Btw, the syntax for returning an arrayish thing might be: method foo($a, $b -- Positional) { ... } Am 19.03.2015 um 23:53 schrieb Darren Duncan: I think as a general

Re: time and now showing different time?

2015-01-12 Thread Tobias Leich
Also interesting might be the fact that BEGIN statements/blocks do return a value: say now() - BEGIN now; # parens needed to there so that it does not gobble args Am 12.01.2015 um 08:55 schrieb Gabor Szabo: Neat. Based on that I tried to explain it here:

Re: time and now showing different time?

2015-01-12 Thread Tobias Leich
that you know is slow... yuo can either have several variables that record every step, or reassign to after every measurement, or you just put this whereever you want: say $?FILE:$?LINE ~ now - BEGIN now; Am 12.01.2015 um 10:36 schrieb Gabor Szabo: On Mon, Jan 12, 2015 at 10:35 AM, Tobias Leich

Re: time and now showing different time?

2015-01-12 Thread Tobias Leich
Am 12.01.2015 um 10:46 schrieb Moritz Lenz: On 01/12/2015 10:36 AM, Gabor Szabo wrote: On Mon, Jan 12, 2015 at 10:35 AM, Tobias Leich em...@froggs.de mailto:em...@froggs.de wrote: Also interesting might be the fact that BEGIN statements/blocks do return a value: say now

Re: [perl #123497] AutoReply: p6doc does not work on OSX (Rakudo * 2014.09)

2015-01-10 Thread Tobias Leich
what was in there before? Am 10.01.2015 um 12:45 schrieb Gabor Szabo: If I put #!/usr/bin/env perl6 as the sh-bang of either of those script, they start to work. Gabor

Re: Could method calls warn in void context?

2015-01-10 Thread Tobias Leich
In case we would know that certain methods had no side effects (and are not called because of their side effects), ... But at the moment we don't know and therefore we can't warn for every method. Am 10.01.2015 um 15:50 schrieb Gabor Szabo: I keep writing code like this: $str.substr(/regex/,

Re: Profiling Perl 6 code

2015-01-06 Thread Tobias Leich
There is only one file to look for: profile-\d+.html in your cwd. And as a side note: do not profile code that runs that long. 8 minutes of execution will produce an html file (with a json blob) of several hundreds of megabytes. Your browser won't cope with that. Try to profile only for a single

Re: What is the latest Rakudo Star?

2015-01-03 Thread Tobias Leich
2014.12.1, at http://rakudo.org/downloads/star/ Cheers http://rakudo.org/downloads/star/ Am 03.01.2015 um 21:32 schrieb Parrot Raiser: I stopped paying attention for a bit, and lost track.

Re: External call like Capture::Tiny of Perl 5 ?

2015-01-02 Thread Tobias Leich
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

Re: [perl #122839] Rakudo* 2014:08 panda doesn't see bundled modules

2014-12-27 Thread Tobias Leich
Hi, what does `which panda` output? I'd almost say that it cannot find panda in path, and the apt suggestions fail on your box...

Re: [perl #122839] Rakudo* 2014:08 panda doesn't see bundled modules

2014-12-27 Thread Tobias Leich via RT
Hi, what does `which panda` output? I'd almost say that it cannot find panda in path, and the apt suggestions fail on your box...

Re: [perl #122839] Rakudo* 2014:08 panda doesn't see bundled modules

2014-12-27 Thread Tobias Leich
Ahh, it might be possible that panda's state will only be installed using the Windows MSI on... err, Windows... I'll check the star tarball on a linux later and report back.

Re: [perl #122839] Rakudo* 2014:08 panda doesn't see bundled modules

2014-12-27 Thread Tobias Leich via RT
Ahh, it might be possible that panda's state will only be installed using the Windows MSI on... err, Windows... I'll check the star tarball on a linux later and report back.

[perl #122839] Rakudo* 2014:08 panda doesn't see bundled modules

2014-12-26 Thread Tobias Leich via RT
Please retest with rakudo-star-2014.12.1-moar.msi. For me it gives this after a clean install of the msi: C:\panda-m --installed list Bailador [installed] DBIish [installed] Debugger::UI::CommandLine [installed] Digest::MD5[installed]

Re: parrot smoke-me/illegal-escape-gh1103

2014-10-15 Thread Tobias Leich
I think I can (sort of) speak for rakudo and say that we would rather have the correct behaviour in the upcomming release in favour of an deprecation cycle. Because, if we spot a problem in nqp or rakudo with 6.9.0, we can always decide to delay upgrading the parrot version for one month.

Re: bug in latest git version of perl6-p

2014-10-05 Thread Tobias Leich
Hi, this is fixed as of: 71b98224ad366474124d8450512b6441dbbc4938 Though, you also need to update NQP, either by doing it manually or by running the Configure.pl script in rakudo which takes care of that. Cheers, FROGGS Am 03.10.2014 um 17:24 schrieb Francis (Grizzly) Smit: The bug is in the

[perl #122839] Rakudo* 2014:08 panda doesn't see bundled modules

2014-10-02 Thread Tobias Leich via RT
what is your panda --installed list?

Announce: Rakudo Star Release 2014.09

2014-09-26 Thread Tobias Leich
## 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 September 2014 release of Rakudo Star, a useful and usable distribution of Perl 6. The tarball for the September 2014 release is available from

Re: Getting startes with Perl6 / Rakudo Star / MoarVM

2014-09-15 Thread Tobias Leich
, not just a plain black/white page. 2014-09-14 14:07 GMT+02:00 Tobias Leich em...@froggs.de mailto:em...@froggs.de: There is already a shurtcut to the perl6 interpreter (REPL) in the start menu. And since the msi is for windows only, we don't have to care about linux

Re: Getting startes with Perl6 / Rakudo Star / MoarVM

2014-09-15 Thread Tobias Leich
message. 2014-09-14 14:07 GMT+02:00 Tobias Leich em...@froggs.de mailto:em...@froggs.de: There is already a shurtcut to the perl6 interpreter (REPL) in the start menu. And since the msi is for windows only, we don't have to care about linux and mac here :o

Re: Getting startes with Perl6 / Rakudo Star / MoarVM

2014-09-14 Thread Tobias Leich
) This idea should be portable, providing shortcuts on Mac or any other Linux box should, work, too. Best regards and thanks for all the answers! Am 11.09.2014 um 10:56 schrieb Tobias Leich em...@froggs.de: My question would be: shall we install the book too, and add the book and useful links

Re: Getting startes with Perl6 / Rakudo Star / MoarVM

2014-09-11 Thread Tobias Leich
My question would be: shall we install the book too, and add the book and useful links to the start menu? Am 11.09.2014 um 10:29 schrieb Kamil Kułaga: Hi, Install path is known limitation https://github.com/rakudo/star/issues/10 If you want custom path you need to compile it from source for

Re: Orphaned module Form

2014-09-10 Thread Tobias Leich
Hi, it is now found at: https://github.com/perl6/form (Moritz++'s link below points to the old location) Am 09.09.2014 um 22:23 schrieb Moritz Lenz: Hi all, On 08.09.2014 10:44, Kamil Kułaga wrote: Hi, There is a https://github.com/mathw/form trying to implement

# Announce: Rakudo Star Release 2014.08

2014-08-30 Thread Tobias Leich
# Announce: Rakudo Star Release 2014.08 ## 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 August 2014 release of Rakudo Star, a useful and usable distribution of Perl 6. The tarball for the August 2014

Re: Rewrite using map? Trasformation array into hash of hash

2014-06-13 Thread Tobias Leich
Hi, like that? class A { has $.a; has $.b }; my @array = A.new(a='a', b='11'), A.new(a='a', b='22'), A.new(a='v', b='33'), A.new(a='w', b='44'), A.new(a='v', b='55'); say @array.map({ .a = .b = $_ }) OUTPUT«a = 11 = A.new(a = a, b = 11) a = 22 =

Re: Perl6 and wxwidgets

2014-06-08 Thread Tobias Leich
GTK::Simple is a recent example of how to make these bindings: https://github.com/perl6/gtk-simple/ Am 08.06.2014 12:56, schrieb Moritz Lenz: Hallo Erik, On 08.06.2014 12:54, Erik Colson wrote: Is it possible to use an external C-library like wxwidgets from perl6/moarvm ? If so, is there

Re: [perl #121903]

2014-05-22 Thread Tobias Leich
Hi, here are several ways to get in touch with us: http://perl6.org/community/ If you want immediate answers then IRC is your choice. Mailing lists do not always deliver immediatly, sometimes it takes two days for me to reveive mails that way... my regex test { [a..z]+ }; say abc123 ~~ / test

Re: [perl #121903] Using a predefined pattern

2014-05-22 Thread Tobias Leich
That works: my $x=/$two-b's=bb|$two-d's=dd/; my $s = addc; $s ~~ s/x=$x/ZXZ/; say $s; say $/ OUTPUT«aZXZc␤「dd」␤ x = 「dd」␤ two-d's = 「d」␤␤» Am 22.05.2014 17:06, schrieb Peter Schwenn: Dear David Waring, Thank you for your example. It works and I understand it. I take it from your example

Announce: Rakudo Perl 6 compiler, Development Release #76 (Bajor)

2014-05-22 Thread Tobias Leich
on Parrot, the Perl 6 test suite, MoarVM and the specification. The following people contributed to this release: Elizabeth Mattijsen, Jonathan Worthington, Tobias Leich, Alexander Moquin, Moritz Lenz, Donald Hunter, Carl Masak, Timo Paulssen, lue, Tim Smith, Geoffrey Broadwell, Larry Wall, Filip

Re: rakudo 2014.04

2014-05-13 Thread Tobias Leich
Hi, the binary installed as 'perl6' is the first backends you specify in the --backends=... option. There are also binaries like perl6-j, perl6-m and perl6-p, in case you've build for these backends also. Cheers, FROGGS Am 13.05.2014 10:54, schrieb Serge A. Ribalchenko: Hi there, Just wonder

Re: [perl #121811] [BUG] $*EXECUTABLE filled wrong on parrot

2014-05-07 Thread Tobias Leich
Hi, I am about to fix that issue, but that involves patching (and rereleasing parrot). It is about patching the pbc_to_exe to not stash ARGV[0], but also figure out the absolute path in the perl6 binary. This however is not somthing that can be done easily when it comes to cross platform...

Re: [perl #121798] m:ov and m:ex multiple regex matches not working

2014-05-05 Thread Tobias Leich
Am 04.05.2014 23:22, schrieb schw...@rt.perl.org: # New Ticket Created by Schwenn, Peter # Please include the string: [perl #121798] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org/Ticket/Display.html?id=121798 Dear Perl6'ers, I am

Re: License: Perl5 or Perl6

2014-04-03 Thread Tobias Leich
That is Perl 5. Cheers Am 01.04.2014 21:28, schrieb Polhodzik Peter (ext): Hi, Ive got a file in an open source software license under as Perl itself. Can you tell by the file(attached) which Perl could it be: Perl5 or Perl6? download link:

Rakudo Star Release 2014.03 - A useful, usable, early adopter distribution of Perl 6

2014-04-01 Thread Tobias Leich
# Announce: Rakudo Star Release 2014.03 ## 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 March 2014 release of Rakudo Star, a useful and usable distribution of Perl 6. The tarball for the March 2014 release

Re: Unusual use of x string repetition operator

2014-02-10 Thread Tobias Leich
Hi Am 10.02.2014 14:19, schrieb Kamil Kułaga: Hi, I've played wit x and xx repetition operators and found interesting result using rakudo star: join(|, (1,2) x 10) 1 21 21 21 21 21 21 21 21 21 2 Is this ok? If true please explain this to me :) Because I expected 12121212121212121212 or

Re: Unusual use of x string repetition operator

2014-02-10 Thread Tobias Leich
comes around. Thanks for fast reply On Mon, Feb 10, 2014 at 2:29 PM, Tobias Leich em...@froggs.de wrote: Hi Am 10.02.2014 14:19, schrieb Kamil Kułaga: Hi, I've played wit x and xx repetition operators and found interesting result using rakudo star: join(|, (1,2) x 10) 1 21 21 21 21 21

Re: register pointing to fromspace

2013-12-22 Thread Tobias Leich
Am 22.12.2013 21:42, schrieb Nicholas Clark: On Sun, Dec 22, 2013 at 01:31:35PM +, Nicholas Clark wrote: I don't know how to chase this further. I have a string that is from fromspace that is being referenced by MVM_string_equal. I think that it has come from a register. Output (with

Re: detecting missing roots and other GC mistakes

2013-12-16 Thread Tobias Leich
I don't think they can move... value_obj is only used from its assignment to before an allocation. Same goes for base_obj. Am 15.12.2013 21:50, schrieb Nicholas Clark: On Sun, Dec 15, 2013 at 05:56:40PM +, Nicholas Clark wrote: With this, all NQP tests pass I can build the Rakudo setting,

Re: [perl #120520] [PATCH] Fix building multiple backends on moar-support branch

2013-11-12 Thread Tobias Leich
Patch applied, thank you! :o) https://github.com/rakudo/rakudo/commit/f5a38f2e97 Am 12.11.2013 16:35, schrieb Nick Glencross (via RT): # New Ticket Created by Nick Glencross # Please include the string: [perl #120520] # in the subject line of all future correspondence about this issue. #

Re: isn't :nl awkward ?

2013-09-24 Thread Tobias Leich
Hi, what you can do now is: So, my $doc = /path/to/file.IO.slurp..split( $line-sep ).split( $field-sep ); Which seems pretty short and readable, at least to me :o) Example: my $doc = a:b:c_d:e:f_g:hi_aaa.split('_').split(':'); say $doc.perl rakudo b78da4: OUTPUT«$((a, b, c).list, (d, e, f).list,

Re: Problem in using inline C with perl6

2013-08-13 Thread Tobias Leich
Hi, Inline::C is working now without the NativeCall patch. https://github.com/FROGGS/p6-Inline-C/commit/554fbb99d0c3491c69263e8238d8df8957e63fe0 Cheers! Am 11.08.2013 11:24, schrieb Tobias Leich: Hi, you are mixing up Perl 5 and Perl 6 code. Tools like h2xs won't work in the Perl 6 world, so

Re: Problem in using inline C with perl6

2013-08-11 Thread Tobias Leich
Hi, you are mixing up Perl 5 and Perl 6 code. Tools like h2xs won't work in the Perl 6 world, so do this instead: |#!/usr/bin/env perl6 use soft; use Inline; my sub a_plus_b( Int $a, Int $b ) is inline('C') returns Int {' DLLEXPORT int a_plus_b (int a, int b) { return a + b; }

Re: Building MoarVM on Solaris

2013-07-24 Thread Tobias Leich
Hi, at one point we are moving from libapr to libuv, so we would have to check if libuv's build scripts are usable too. But what speaks for having our own configure system: What if you already have libapr/libuv installed with their dev-packages? We would just link against that without the ability

Re: [perl #85750] Test failures on OpenBSD

2013-05-29 Thread Tobias Leich
Hi, does this happen with parrot-5.2 too? Looks like I should set up a vm for testing... Am 27.05.2013 18:36, schrieb Pascal Stumpf: On Sat, 25 May 2013 22:08:00 -0700, Will Coleda via RT wrote: On Wed Mar 09 10:38:06 2011, pascal.stu...@cubes.de wrote: The following test failures have so far

Announce: Rakudo Perl 6 compiler, Development Release #64 (Austin)

2013-05-23 Thread Tobias Leich
and the specification. The following people contributed to this release: Brent Laabs, Moritz Lenz, Patrick R. Michaud, Tobias Leich, Jonathan Worthington, Will Coke Coleda, Elizabeth Mattijsen, dagurval, Carl Mäsak, Solomon Foster, Larry Wall, Tadeusz Sośnierz, Timo Paulssen, Arne Skjærholt

Rakudo Perl 6 compiler development release #58 (Walnut)

2012-11-23 Thread Tobias Leich
, the Perl 6 test suite and the specification. The following people contributed to this release: Jonathan Worthington, Moritz Lenz, Carl Mäsak, Jonathan Scott Duff, Will Coke Coleda, Tobias Leich, Geoffrey Broadwell, Nicholas Clark, Konrad Borowski, flussence If you would like to contribute, see http

<    1   2