113 Views
September 06, 18
スライド概要
rebel-readlineでClojureのREPLをリッチにしよう(*> ᴗ •*)ゞ
「楽しく楽にcoolにsmartに」を理想とするprogrammer/philosopher/liberalist/realist。 好きな言語はClojure, Haskell, Python, English, français, русский。 読書、プログラミング、語学、法学、数学が大好き! イルカと海も大好き🐬
Boost your productivity with Clojure REPL
lagénorhynque カマイルカ /laʒenɔʁɛk ̃ / (defprofile lagénorhynque :name "Kent OHASHI" :languages [Clojure Common-Lisp Scheme Haskell English français] :interests [programming language-learning mathematics] :contributing [github.com/japan-clojurians/clojure-site-ja])
plain Clojure REPL
lein repl
clj
helper functions/variables doc, finddoc source javadoc *1, *2, *3, *e completion no syntax highlight no multiline editing
rebel-readline
Clojure CLI + rebel-readline ~/.clojure/deps.edn {:aliases {:rebel {:extra-deps {com.bhauman/rebel-readline {:mvn/version "0.1.4"}} :main-opts ["-m" "rebel-readline.main"]}}}
clojure A:rebel
Leiningen + rebel-readline project.clj :aliases {"rebel" ^{:doc "Run REPL with rebel-readline."} ["trampoline" "run" "-m" "rebel-readline.main"]}
lein rebel
e.g. lein figwheel * lein- gwheel >= 0.5.15
Further Reading Leiningen Clojure - Deps and CLI Guide rebel-readline CIDER Spacemacs Clojure layer Clojure development with Spacemacs & Cider でREPL駆動開発を始めよう - Qiita Clojure