This is a read-only archive of lispforum.com. The forum was locked to new users and posts and is preserved here as static HTML from a database snapshot taken on 2019-09-07.

more than this (loop (print (eval (read))))

4 posts · 1007 views

I need to evaluate my functions interactively.
I would to get an skeleton for a more sofisticated REPL loop than the usual (loop (print (eval (read)))), this is, customizing the prompt, evaluating exit...
Using CLISP on Ubuntu.

thank you

Re: more than this (loop (print (eval (read))))

I am not sure what you mean. Slime already exists, as do some plugins for Vim and commercial IDEs. Or do you want something else?

Re: more than this (loop (print (eval (read))))

Clisp is open source, you can grab it's source code and look for the word "REPL" in it.