Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a REPL shell for perl6/raku?

I know I can use perl6 without arguments to start a minimal REPL shell, but I'm missing tab completion, readline capabilities, object inspection, etc..., so I'm wondering if there's a nicer REPL shell, like IPython for Python or Reply for Perl 5.

When running perl6, I get the following warning:

$ perl6
I ran into a problem while trying to set up REPL completions:
Continuing without tab completions

But I don't know how to fix this.

like image 608
Cosimo Avatar asked Dec 28 '15 13:12

Cosimo


1 Answers

The Perl6 REPL hasn't quite caught up to all the competition. But aside from just using rlwrap perl6, there are some related modules such as

  • Linenoise
  • Readline
  • LREP

Depending on what you're looking for, Debugger::UI::CommandLine might also be of interest (a corresponding binary perl6-debug or perl6-debug-m should already have been installed by Rakudo).

A Jupyter kernel has also seen some initial commits.

like image 104
Christoph Avatar answered Oct 03 '22 09:10

Christoph