Sha256: 5d678e6a586e0fd3080dfce4c1af1f5be9a6b66fbbfcd980d36a9e4d08068808

Contents?: true

Size: 384 Bytes

Versions: 28

Compression:

Stored size: 384 Bytes

Contents

(ns redcar.repl.Wrapper
  (:require [org.enclojure.repl.main])
  (:gen-class
    :state state
    :init init
    :methods [[getResult [] String]
              [sendToRepl [String] void]]))

(defn -init []  
  [[] (org.enclojure.repl.main/create-clojure-repl)])

(defn -getResult [this]
  ((:result-fn (.state this))))

(defn -sendToRepl [this expr]
  ((:repl-fn (.state this)) expr))

Version data entries

28 entries across 28 versions & 2 rubygems

Version Path
redcar-clojure-0.2 vendor/Wrapper.clj
redcar-clojure-0.1-java vendor/Wrapper.clj
redcar-0.11 plugins/clojure/vendor/Wrapper.clj
redcar-0.11.0dev plugins/clojure/vendor/Wrapper.clj
redcar-0.10 plugins/clojure/vendor/Wrapper.clj
redcar-0.9.2 plugins/repl/vendor/Wrapper.clj
redcar-0.9.1 plugins/repl/vendor/Wrapper.clj
redcar-0.9.0 plugins/repl/vendor/Wrapper.clj
redcar-0.8.1 plugins/repl/vendor/Wrapper.clj
redcar-0.8 plugins/repl/vendor/Wrapper.clj
redcar-0.7 plugins/repl/vendor/Wrapper.clj
redcar-0.6.1 plugins/repl/vendor/Wrapper.clj
redcar-0.6 plugins/repl/vendor/Wrapper.clj
redcar-0.6.1dev plugins/repl/vendor/Wrapper.clj
redcar-0.5.1 plugins/repl/vendor/Wrapper.clj
redcar-0.5 plugins/repl/vendor/Wrapper.clj
redcar-0.5.6dev plugins/repl/vendor/Wrapper.clj
redcar-0.5.5dev plugins/repl/vendor/Wrapper.clj
redcar-0.5.4dev plugins/repl/vendor/Wrapper.clj
redcar-0.5.3dev plugins/repl/vendor/Wrapper.clj