]> rhodes.io Git - swankr.git/commitdiff
Christophe Weblog Wiki Code Publications Music
support new `swank-repl:...` protocol (as well as old protocol)
authorChristophe Rhodes <csr21@cantab.net>
Sat, 20 Sep 2014 12:52:00 +0000 (13:52 +0100)
committerChristophe Rhodes <csr21@cantab.net>
Sat, 20 Sep 2014 12:52:00 +0000 (13:52 +0100)
swank.R

diff --git a/swank.R b/swank.R
index f7ea3b11c61d3098fd03e85dbb5c36887786819e..549e3ead76d367bd66fb40c3575569936f7efb88 100644 (file)
--- a/swank.R
+++ b/swank.R
@@ -314,6 +314,8 @@ printToString <- function(val) {
   list("R", "R")
 }
 
+`swank-repl:create-repl` <- `swank:create-repl`
+
 makeReplResult <- function(value) {
   string <- printToString(value)
   list(quote(`:write-string`), string,
@@ -344,6 +346,8 @@ sendReplResultFunction <- sendReplResult
   list()
 }
 
+`swank-repl:listener-eval` <- `swank:listener-eval`
+
 `swank:clear-repl-variables` <- function(slimeConnection, sldbState) {
   list()
 }