Jump to content

Readline interface: Difference between revisions

m
→‎{{header|Raku}}: Fix comments: Perl 6 --> Raku
(Rename Perl 6 -> Raku, alphabetize, minor clean-up)
m (→‎{{header|Raku}}: Fix comments: Perl 6 --> Raku)
Line 905:
(formerly Perl 6)
 
Perl 6Raku has a built in REPL that can be initiated by running the perl6Raku executable without any parameters. It is fairly basic on its own but here are bindings available in the Perl 6Raku ecosystem for [https://tiswww.case.edu/php/chet/readline/rltop.html GNU Readline] and/or [https://github.com/antirez/linenoise Linenoise] either of which will automatically provide command history, tab completion and more advance command line editing capability if installed. They are not included in the Perl 6Raku distribution directly. There are incompatible licensing requirements and providing hooks for third party tools allows for more customization options.
 
Linenoise is generally the preferred option unless you really want the emacs compatible command line editing key bindings. Readline is arguably more powerful but is somewhat fiddly to set up.
2,392

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.