From 30b283c2edbb275ea1dcda80bffc46a0d29d8465 Mon Sep 17 00:00:00 2001 From: Christophe Rhodes Date: Sat, 20 Sep 2014 13:52:00 +0100 Subject: [PATCH] support new `swank-repl:...` protocol (as well as old protocol) --- swank.R | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/swank.R b/swank.R index f7ea3b1..549e3ea 100644 --- 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() } -- 2.39.5