Interacting with Lisp sub-expressions?
Wouldn’t it be nice to be able to interact with Lisp sub-expressions? I should be able to, say, hover over a sub-expression (having perhaps set some default input data) and see the dynamic result of that sub-expression. That would make it easier to understand expressions, debug them, etc. Maybe the REPL is all that’s really necesary and I just haven’t learned it well enough yet. But it would be really handy to interactively explore the list transformations that happen as an expression (that I’ve already typed out) is composed. I couldn’t imagine a faster way to explore it than by hovering over sub-expressions and seeing the result in another window.
Has anyone built anything like this?
ken said,
August 22, 2007 @ 1:29 pm
In Emacs, press C-x C-e and it’ll evaluate that expression (and show you the result in the echo area).
I’ve only used this with elisp, but I’m sure if you’re using SLIME it’ll use your CL environment instead.