Christophe Weblog Wiki Code Publications Music
implement swank:interactive-eval and swank:eval-and-grab-output
authorChristophe Rhodes <csr21@cantab.net>
Wed, 25 Aug 2010 14:57:56 +0000 (15:57 +0100)
committerChristophe Rhodes <csr21@cantab.net>
Wed, 25 Aug 2010 14:57:56 +0000 (15:57 +0100)
commit574dfdfecdc1bb179c60e79e680092469303404a
tree3d801f31844d62cb167de7f0996c1f018504b10a
parent2b8d4ed472bd7bd4fef2ab2639d056688bd0bb8d
implement swank:interactive-eval and swank:eval-and-grab-output

This allows C-c : and C-u C-c : to work, modulo the printing of an
unnecessary [1].  The evaluation semantics of R are not what a Lisper might
expect; printToString(eval(parse(...))) does not necessarily perform the
evaluation before altering the output stream with sink() -- so capturing
all sorts of incidental output if something goes wrong.

This commit brought to you using C-c C-c.
swank.R