Fun little REPL for Perl6 inspired by Pry, nREPL, and others
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 Apparently rakudobrew assumes bin/ contains perl6 code Dec 26, 2015
examples move demo into examples dir Oct 24, 2015
lib
t add basic test Oct 23, 2015
.travis.yml Add nested lexical scope eval to allow for new vars Dec 25, 2015
CHANGELOG
LICENSE Add license and meta Oct 12, 2015
META.info Merge pull request #2 from zoffixznet/patch-1 Feb 13, 2018
README.md
trystuff-out.txt Add some experiments Oct 18, 2015
trystuff.p6 Improve echo middleware and some messaging Dec 21, 2015

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!