Skip to content

REPL-y: A fitter, happier, more productive REPL for Clojure.

Notifications You must be signed in to change notification settings

AlexBaranosky/reply

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REPL-y

A fitter, happier, more productive REPL for Clojure.

Improvements over the existing REPL

  • allows a number of readline commands:
    • jumping to the start/end of lines
    • jumping forward/back by word (not available in JLine versions before 2)
    • history searching
    • and much much more
  • CTRL-C:
    • doesn't bail out of the process - stops interruption-friendly operations
    • kills the currently running command, breaks out of infinite loops, etc.
  • code completion for:
    • vars, namespaces, Java classes
    • Java packages
    • namespace-qualified vars
    • Java static methods

Hopefully coming soon

  • better stacktraces, likely using one of the existing tools

Maybe one day

  • smart indentation
  • colorization
  • code completion for:
    • Java methods (maybe based on type-hinted clojure vars?)
  • hold full source code in metadata? (for in-repl defns)

Installation

I'm hoping this will eventually be distributed with Russ Olsen's excellent dejour, and perhaps also with Phil Hagelberg's leiningen.

Meantime (assuming you have leiningen installed):

git clone https://github.com/trptcolin/reply.git
cd reply
lein deps, compile

Usage

Run bin/reply.sh. This will get friendlier for non-Cygwin Windows users.

Thanks

Thanks to the Clojure and JLine developers for their work on the excellent projects that this project depends upon.

Special thanks to 8th Light for paying me to work on this during our open-source Friday afternoons.

License

Copyright (C) 2011 Colin Jones

Distributed under the Eclipse Public License, the same as Clojure.

About

REPL-y: A fitter, happier, more productive REPL for Clojure.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published