Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Running inferior lisp

Tags:

emacs

lisp

After installing emacs and attempting to run-lisp, I get

Searching for program: No such file or directory, lisp

Then, after trying to run lisp again, a new inferior-lisp buffer opens, but if I try entering anything in, I get:

Output file descriptor of inferior-lisp<1> is closed

Any idea what I should do?

like image 876
wrongusername Avatar asked Nov 18 '10 09:11

wrongusername


People also ask

What is inferior lisp?

Generally Inferior Lisp means that it is a (often external) Lisp system under control from Emacs. It also does not need to be Emacs Lisp. Usually it is some other Lisp dialect like Common Lisp.

How to run Emacs Lisp?

In a fresh Emacs window, type ESC-x lisp-interaction-mode . That will turn your buffer into a LISP terminal; pressing Ctrl+j will feed the s-expression that your cursor (called "point" in Emacs manuals' jargon) stands right behind to LISP, and will print the result.

How do you run a lisp code?

Example: Step 1: After logging into a CUIT machine, enter "lisp" after the $ shell prompt and then hit <return>. Another way is to run lisp via emacs: Meta-x run-lisp (i.e. hit 'esc' followed by 'x', type "run-lisp" and you'll be in lisp mode from which you can load files of lisp code...)

How do I use slime in Emacs?

emacs. d/ . The first lisp file you load you may need to perform M-x slime , which means holding down either Alt or Escape, then hitting the letter 'x'. A prompt will appear at the bottom of the editor (in the minibuffer) where you type "slime" and hit enter.

How do I run an inferior lisp program in Emacs?

To run an inferior Lisp process, type M-x run-lisp'. This runs the program namedlisp', the same program you would run by typing lisp' as a shell command, with both input and output going through an Emacs buffer namedlisp'. It look like you do not have an program in your path that is call "lisp".

How to get the core of an inferior lisp program?

You should set inferior-lisp-program variable. Be careful 'cos some Lisps expect the core to be specified in the command-line or reside in a current directory (especially if you're on Windows). If you're a newbie and just want to get familiar with lisp there is a built-in Elisp interpreter. Run M-x ielm to get it.

How do I run a Lisp program in SBCL?

This obviously depends on sbcl. To run an inferior Lisp process, type M-x run-lisp'. This runs the program named lisp', the same program you would run by typing lisp' as a shell command, with both input and output going through an Emacs buffer named lisp '. It look like you do not have an program in your path that is call "lisp".

How do I use ielm in Lisp?

IELM is an alternative to Lisp Interactive mode, which is the mode of buffer ‘*scratch*’. Start it using ‘M-x ielm’. Then type ‘C-h m’ as usual for more help.


1 Answers

You should set inferior-lisp-program variable. Be careful 'cos some Lisps expect the core to be specified in the command-line or reside in a current directory (especially if you're on Windows).

If you're a newbie and just want to get familiar with lisp there is a built-in Elisp interpreter. Run M-x ielm to get it.

like image 133
eGlyph Avatar answered Oct 05 '22 10:10

eGlyph