[perl #131408] Curious "Too many positionals" error from bail-out() with no positionals.

2017-05-30 Thread brian d foy
# New Ticket Created by "brian d foy" # Please include the string: [perl #131408] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131408 > I have this program: #!/Applications/Rakudo/bin/perl6 use Test; bail-out()

Perl6 shell, Was: command auto-completion in perl6 shell

2017-05-30 Thread Richard Hainsworth
Please do not weaken the link between REPL and perl6 ! The ability to test perl6 snippets very quickly is something I find very useful. And to get this I type 'perl6'. Easy to remember. (I have been following perl6 since the very beginning, and installed 'pug'. Since perl6 has been evolving,

[perl #131406] Bug in Perl6::Metamodel::Naming method set_name. `CArray[Pointer].^shortname` returns 'Pointer]'; should be 'CArray[Pointer]'

2017-05-30 Thread via RT
# New Ticket Created by raiph # Please include the string: [perl #131406] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131406 > put $*PERL.compiler.version; # 2017.05.303.g.5.e.3393454 use NativeCall; put CArray[Pointer].^s

[perl #131400] [BUG] pod2text fails on S26-documentation.pod

2017-05-30 Thread Zoffix Znet via RT
On Tue, 30 May 2017 07:19:22 -0700, tbrowder wrote: > To demonstrate the bug, run: > > $ perl6 --doc=Text S26-documentation.pod > > The source file of S26-documentation.pod can be found at: > > https://github.com/perl6/specs/S26-documentation.pod > > Perl 6 version: 2017.05.16-g494659a bu

[perl #131400] [BUG] pod2text fails on S26-documentation.pod

2017-05-30 Thread Zoffix Znet via RT
On Tue, 30 May 2017 07:19:22 -0700, tbrowder wrote: > To demonstrate the bug, run: > > $ perl6 --doc=Text S26-documentation.pod > > The source file of S26-documentation.pod can be found at: > > https://github.com/perl6/specs/S26-documentation.pod > > Perl 6 version: 2017.05.16-g494659a bu

[perl #131401] Feature Request NativeCall function pointer typedef

2017-05-30 Thread via RT
# New Ticket Created by Benjamin Goldberg # Please include the string: [perl #131401] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131401 > In C, it’s possible to use typedefs for all sorts of things, including: typedef

Re: [perl #131398] Feature Request: trait for unimplemented subs/methods

2017-05-30 Thread Brandon Allbery via RT
As already mentioned, we have three such stubbers already. You can even put a partial/incomplete implementation after them: just terminate the ... or w/e with a semicolon. What none of them will do for you is allow a syntactically incorrect body. But the proposed feature *also* will not allow that

Re: [perl #131398] Feature Request: trait for unimplemented subs/methods

2017-05-30 Thread Brandon Allbery
As already mentioned, we have three such stubbers already. You can even put a partial/incomplete implementation after them: just terminate the ... or w/e with a semicolon. What none of them will do for you is allow a syntactically incorrect body. But the proposed feature *also* will not allow that

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 Parrot Raiser
The REPL's almost an independent project. Can it be made modular, to reduce the coupling between it and the language?

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

Re: command auto-completion in perl6 shell

2017-05-30 Thread Sebastien Moretti
On 05/30/2017 05:39 PM, Shrivats wrote: On 05/30/2017 08:33 PM, Sebastien Moretti wrote: > Hi > > I wonder if there is auto-completion in the Perl6 REPL - such as what is > found in Eclipse (Ctrl-space) or in vim (Ctrl+n) - for variables, > methods, ... > > e.g > perl6 > > say 42. > or

Re: command auto-completion in perl6 shell

2017-05-30 Thread Shrivats
On 05/30/2017 08:33 PM, Sebastien Moretti wrote: > Hi > > I wonder if there is auto-completion in the Perl6 REPL - such as what is > found in Eclipse (Ctrl-space) or in vim (Ctrl+n) - for variables, > methods, ... > > e.g > perl6 > > say 42. > or > > my $result = 8; > > say $res > Hi, As it st

command auto-completion in perl6 shell

2017-05-30 Thread Sebastien Moretti
Hi I wonder if there is auto-completion in the Perl6 REPL - such as what is found in Eclipse (Ctrl-space) or in vim (Ctrl+n) - for variables, methods, ... e.g perl6 > say 42. or > my $result = 8; > say $res Thanks -- Sébastien Moretti

[perl #131400] [BUG] pod2text fails on S26-documentation.pod

2017-05-30 Thread Zoffix Znet via RT
On Tue, 30 May 2017 07:19:22 -0700, tbrowder wrote: > To demonstrate the bug, run: > > $ perl6 --doc=Text S26-documentation.pod > > The source file of S26-documentation.pod can be found at: > > https://github.com/perl6/specs/S26-documentation.pod > > Perl 6 version: 2017.05.16-g494659a bu

[perl #131400] [BUG] pod2text fails on S26-documentation.pod

2017-05-30 Thread Zoffix Znet via RT
On Tue, 30 May 2017 07:19:22 -0700, tbrowder wrote: > To demonstrate the bug, run: > > $ perl6 --doc=Text S26-documentation.pod > > The source file of S26-documentation.pod can be found at: > > https://github.com/perl6/specs/S26-documentation.pod > > Perl 6 version: 2017.05.16-g494659a bu

Re: [perl #131398] Feature Request: trait for unimplemented subs/methods

2017-05-30 Thread Parrot Raiser
That is so easy for a programmer to implement; I have an "nyi" subroutine/function in the my skeleton scripts for both Perl 5 and Bash. Is it worth cluttering the language?

[perl #131400] [BUG] pod2text fails on S26-documentation.pod

2017-05-30 Thread via RT
# New Ticket Created by Tom Browder # Please include the string: [perl #131400] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131400 > To demonstrate the bug, run: $ perl6 --doc=Text S26-documentation.pod The source fil

Re: run() not capturing exitcode properly?

2017-05-30 Thread Marcel Timmerman
Hi Exit code is set after closing one of the output channels. If you close both, the errorcode is reset to 0 again. (This might be a bug though) my $p = run "ls", "dadsad", :out, :err; say $p.err.lines; ---> (ls: cannot access 'dadsad': No such file or directory) $p.out.close; $p.exitcode; -