I would like a command-line (must be a command line!) read-eval-print-loop Scheme interpreter. But spefically, I'd like an interpreter than can at least highlight parentheses, and maybe even keep a history like GNU readline-enabled programs. All of this at REPL-level.
Does this exist? Is it even possible? Do I have to hack this into some open-source REPL? Am I just bad at computer? Should I even bother?
I've checked other questions for this but I haven't quite found what I'm looking for. I've tried Racket and mzscheme, but it doesn't seem to do what I want. For now I'm using mit-scheme, but that balancing feature (much like whatever program they used in the SICP lectures) would be pretty much all I could ever want from it.
rlwrap
. You should be able to install it on most *nix systems. Call it likerlwrap scheme
and it will wrap input to the REPL with readline, giving you history, nicer editing, etc... Invaluable if the REPL is really basic like Clojure's. I don't think this is specifically answering your need, so I didn't make it an answer, but it might be useful in general. Also, I think you can start most Schemes as inferior-lisps in Emacs, which give you much more, but I won't go so far as to push that :) – michiakig