Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

REPL for Emacs Lisp

What are some REPLs for Emacs Lisp?

Is there only one that is within Emacs?

Are there some that run inside terminal outside Emacs?

like image 371
Tim Avatar asked Jul 14 '11 02:07

Tim


People also ask

What is REPL Lisp?

a Lisp REPL is different to most other textual interactive interfaces, because it is based on the idea of data I/O of s-expressions and evaluating these. a REPL is a general term describing textual interactive interfaces to programming language implementations or subsets of those.

Does Emacs support Lisp?

Introduction. Gnu emacs can provide an interface to any Common Lisp system.

Is Emacs Lisp the same as Lisp?

By default, Common Lisp is lexically scoped, that is, every variable is lexically scoped except for special variables. By default, Emacs Lisp files are dynamically scoped, that is, every variable is dynamically scoped. The my-test. el is a lexically scoped file because of the first line.


2 Answers

Based on this question: REPL on console emacs, you can use M-x ielm (inferior emacs lisp mode).

like image 194
Tikhon Jelvis Avatar answered Sep 17 '22 13:09

Tikhon Jelvis


There is a (work in progress) REPL for Emacs for use from the command line. It currently supports basic command line editing and history.

The code is hosted on Github.

like image 24
ack Avatar answered Sep 21 '22 13:09

ack