Cosimo
Cosimo

Reputation: 3011

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.

Upvotes: 8

Views: 814

Answers (1)

Christoph
Christoph

Reputation: 169613

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

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.

Upvotes: 8

Related Questions