Skip to content
Fun little REPL for Perl6 inspired by Pry, nREPL, and others
Perl 6
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
examples
lib
t
.travis.yml
CHANGELOG
LICENSE
META.info
README.md
trystuff-out.txt
trystuff.p6

README.md

A fun little REPL for perl6 inspired by Pry, nREPL, and others

Build Status

EXAMPLE

Demo program:

use LREP;

sub hmm {
  my $x = "hello";
  LREP::here;
  say $x;
}

hmm;

Then when you run it you get a prompt. You can look at local vars and change them. "^D" to continue.

> $x
hello
> $x = "bye"
bye
> ^D
bye

TODO / IDEAS

  • Middleware / Plugins
    • Make adding plugins easy. Middleware == Plugins!
    • Make plugins powerful -- build off of each other, declarative help
    • Make everything a plugin
    • Extract middleware into separate files
    • Adopt some middleware-dependency concepts like nREPL has?
  • Make (optionally) client/server
  • Hook up a next/step debugger
  • Steal more from core REPL for tab-complete
  • Add handy plugins from Pry
    • ls -- list current context methods, list methods of obj
    • show-source -- show the source code of something
    • show-doc -- show the documentation for something
    • @ / whereami -- show the current surrounding source code
    • help -- help!
You can’t perform that action at this time.