kolloch / tabrepl

Demo of clojure repl with dynamic tab completion.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tabrepl

Small demo that it is pretty easy to make repl tab completion smarter.

When I have written this, I wondered why noone had written something that obviously useful before.

Since then, I have discovered that the cake build tool includes a repl with tab completion just like I wanted to create with this.

https://github.com/ninjudd/cake

Usage

Build a jar with all necessary classes:

$ lein uberjar

Run the standalone jar:

$ java -jar tabrepl-*-standalone.jar

Sample Session

$ java -jar tabrepl-*-standalone.jar
Starting...
clojure.core => (print

print                 print-ctor            print-doc             print-dup             print-method          print-namespace-doc   print-simple          print-special-doc print-str             printf                println               println-str
 clojure.core => (println

 println       println-str
 clojure.core => (println "test")
 test
 nil
 clojure.core => 

License

Copyright (C) 2010 Peter Kolloch

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

About

Demo of clojure repl with dynamic tab completion.


Languages

Language:Clojure 100.0%