Re: command auto-completion in perl6 shell

2017-05-30 Thread Rob Hoelz
It's pretty modular already; only a little more work would be needed to have it loaded as an external module. On Tue, 30 May 2017 12:34:08 -0400 Parrot Raiser <1parr...@gmail.com> wrote: > The REPL's almost an independent project. > > Can it be made modular, to reduce the coupling between it an

Re: command auto-completion in perl6 shell

2017-05-30 Thread Rob Hoelz
Completion (albeit in a limited form) is available if you install the Linenoise module. Completion for Readline is a little trickier, since GNU Readline uses a global variable to store the function reference used to populate the completion list. When I was working on the REPL stuff, manipulatin

[perl #125463] [JVM] .IO.unlink succeeds in unlinking empty directories

2017-05-01 Thread Rob Hoelz via RT
On 2017-05-01 01:38:14, c...@zoffix.com wrote: > > On 23 Jun 2015, at 15:37, Rob Hoelz (via RT) > follo...@perl.org> wrote: > > Unlinking a non-existent file should fail() rather than return True. > > The end-goal of .unlinking stuff is for the file to stop existing. >

Re: exit code: 141 causes Perl 6 to exit.

2017-03-27 Thread Rob Hoelz
FWIW, 141 is SIGPIPE. (signal 13 + WIFSIGNALED flag (128)) So something's happening in your RUN script that's causing it to write to a closed pipe. I hope this helps! -Rob On Mon, 27 Mar 2017 11:51:03 +0300 Gabor Szabo wrote: > Putting > > CATCH { default { put .^name, ': ', .Str } }; > >

Re: Help mechanism in REPL?

2016-09-10 Thread Rob Hoelz
On Fri, 09 Sep 2016 16:30:28 -0700 Alex Elsayed wrote: > On Wednesday, 7 September 2016 17:57:32 PDT Parrot Raiser wrote: > > This isn't a request for a feature, merely a thought experiment. > > We're still in the phase where it's more important to ensure that > > existing features work properly

Announce: Rakudo Perl 6 compiler, Release #99 (2016.05)

2016-05-21 Thread Rob Hoelz
mboy64, Moritz Lenz, Altai-man, Rob Hoelz, Zoffix Znet, Salvador Ortiz, Tom Browder, Ahmad M. Zawawi, Xliff, Matt Oates, Nick Logan, Jonathan Stowe If you would like to contribute or find out more information, visit <http://perl6.org>, <http://rakudo.org/how-to-help>, ask on the

Experimental multi-line REPL branch up for testing

2016-02-07 Thread Rob Hoelz
Hi Perl 6 users! I've developed an experimental branch that introduces multi-line input to the REPL. What this means is when you enter this: > for ^10 { instead of seeing a "Missing block" error, the prompt changes, so you can finish the block: > for ^10 { * .say * } You can

Type constraint for named parameters, and questions about 6.c backwards compat

2015-12-21 Thread Rob Hoelz
Hello Perl 6 users and developers! I asked this in #perl6, but I wasn't getting a response there, so I figured I would try here. In the following code: > use v6; > > class C { > has Str $!dist-id; > > submethod BUILD(:$!dist-id) {} > } > > my ( $build ) = C.can('BUILD'); > say $build.sig

Rakudo September Deprecations

2015-09-01 Thread Rob Hoelz
Hi everyone! Well, September is finally here, and with it most (if not all?) of the removal of the deprecations that have happened in the last year. There are about 100 of these in the Rakudo source, and to ease the burden on the release manager this month, I was thinking we should perhaps remove

Re: Are there any web applications written in Perl 6?

2015-07-18 Thread Rob Hoelz
On Sat, 18 Jul 2015 20:06:11 +0300 Gabor Szabo wrote: > Hi, > > I am going to give a 20 min talk about web application development > using Perl 6. > My base plan is to use Bailador https://github.com/tadzik/Bailador > and show the basics, > but I'd like to point out any already existing web appl

Announce: Rakudo Perl 6 compiler, Development Release #89 ("Salt Lake")

2015-06-18 Thread Rob Hoelz
ollowing people contributed to this release: Elizabeth Mattijsen, Tobias Leich, Jonathan Worthington, Timo Paulssen, Rob Hoelz, Christian Bartolomäus, Will "Coke" Coleda, Bart Wiegmans, Larry Wall, Moritz Lenz, Justin DeVuyst, Steve Mynott, Carl Masak, Solomon Foster, cygx, smls, Alexa

[perl #125182] bufs need .push

2015-05-29 Thread Rob Hoelz via RT
On Fri May 29 06:23:54 2015, r...@hoelz.ro wrote: > On Fri May 29 05:54:10 2015, r...@hoelz.ro wrote: > > On Wed May 13 16:38:02 2015, rjbs wrote: > > > A buf is supposed to be mutable, but I can't push to it. TimToday++ > > > said this > > > was incorrect behavior and just NYI. > > > > > > ~$ pe

[perl #125182] bufs need .push

2015-05-29 Thread Rob Hoelz via RT
On Fri May 29 05:54:10 2015, r...@hoelz.ro wrote: > On Wed May 13 16:38:02 2015, rjbs wrote: > > A buf is supposed to be mutable, but I can't push to it. TimToday++ > > said this > > was incorrect behavior and just NYI. > > > > ~$ perl6 -e 'my $b = Buf.new(1,2,3); $b.push(4)' > > Cannot call push

[perl #125182] bufs need .push

2015-05-29 Thread Rob Hoelz via RT
On Wed May 13 16:38:02 2015, rjbs wrote: > A buf is supposed to be mutable, but I can't push to it. TimToday++ > said this > was incorrect behavior and just NYI. > > ~$ perl6 -e 'my $b = Buf.new(1,2,3); $b.push(4)' > Cannot call push(Buf: Int); none of these signatures match: > (Any:U \SELF:

Re: Is there an equivalent env var to PERL5LIB for Perl 6 module locations?

2015-03-30 Thread Rob Hoelz
Yup, PERL6LIB. =) On Mon, 30 Mar 2015 17:03:05 -0500 Tom Browder wrote: > I would like an easy way to have a local search path for local Perl 6 > modules (those not installed via Panda). > > I'm used to using the environment variable PERL5LIB for Perl 5 > modules. Is there currently any equiva

Re: Perl 6 script beginning lines: 'v6;' required?

2015-03-13 Thread Rob Hoelz
On Fri, 13 Mar 2015 07:13:31 -0500 Tom Browder wrote: > I have seen the following beginning lines of Perl programs in some > examples on the Perl 6 web site: > > #!/usr/bin/env perl6 > v6; > > Isn't the 'v6' superflous given the first line? > > Best regards, > > -Tom The specification do

Re: [perl #121298] Using compiled modules on MoarVM fails when there's a data structure in the module

2014-03-02 Thread Rob Hoelz
On Sun, 2 Mar 2014 02:02:36 -0800 "Tobias Leich via RT" wrote: > Am Fr 21. Feb 2014, 17:20:53, r...@hoelz.ro schrieb: > > I've attached a sample tarball of code; use ufo, make, and perl6 > > test.p6 to run it. A more real-world example is the URI module. > > The weird thing is that accessing th

Re: [perl #119877] AutoReply: $/ values not populated in block when using subcapture on Rakudo-JVM

2013-09-23 Thread Rob Hoelz
I should also mention that while this form produces the bug: regex foo { { say($) } } This form does not: $s ~~ / { say($) } }/

Re: Packaging Perl 6 (or rather, Rakudo Star)

2013-03-05 Thread Rob Hoelz
On 3/5/13 11:44 AM, Patrick R. Michaud wrote: > On Tue, Mar 05, 2013 at 11:13:51AM +0100, Rob Hoelz wrote: >> I already have my own package for Arch Linux for Rakudo Star, and I keep >> the OS X homebrew package up-to-date as well. I'd like to create an RPM >> spec f

Packaging Perl 6 (or rather, Rakudo Star)

2013-03-05 Thread Rob Hoelz
Hi everyone, There was some discussion on #perl6 yesterday on what requirements are necessary for Perl 6 to be considered "production ready", and moritz++ made a quick list (https://gist.github.com/moritz/5082925) of the top of his head including deployment in major free OSes. This is one area wh

Pygments hilighter for Perl 6

2013-01-02 Thread Rob Hoelz
Hi everyone, For the past two weeks, I have been working on a Pygments syntax hilighter for Perl 6. It has finally reached a state where I feel it is ready to be tested by the community! If you have some Perl 6 code and some spare time, please test it out. The code is located here: https:/

Re: [perl #67890] [PATCH] Two patches for the Perl6 compiler

2010-07-28 Thread Rob Hoelz
I submitted these patches over a year ago...are they even relevant anymore? On Tue, 27 Jul 2010 18:51:12 -0700 "Will Coleda via RT" wrote: > On Sat Jul 25 17:20:40 2009, hoelzro wrote: > > See the patches' summaries for details. > > Sorry for the delay in responding, but these patches no longer