n***@gmail.com
2009-03-09 03:51:55 UTC
I learned Lisp at Cornell, a long time ago, when there was no loop. I
decided to give it a new trial. I compiled SBCL on Wintel, removed
the Kitten message (I am sceptical about the need of such a strong
warning), and wrote a few programs using the Scite editor. Then I
started my quest for a really good Lisp IDE. A lot of Lispers told me
that the best IDE is LispIDE. The reasons:
1 --- It comes with a very good Lisp help: Common Lisp The Language,
and Common Lisp Hyper Spec.
2 --- It has a good inferior lisp. I mean, one can run a Lisp process
on a special window.
3 --- It is small, so one can transfer it from machine to machine in
seconds. That is very important for me, since I often need to make
presentations and fast prototypes in machines belonging to clients.
4 -- It has a fine editor, with good parenthesis match. The editor is
somewhat basic, but it works.
Since I was used to an IDE called Eclipse, that is huge, slow,
difficult to install, and bug ridden, LispIDE seemed very nice indeed:
it is fast, lightweight, bugfree. I mean, compared to Eclipse, LispIDE
is wonderful. Moving from Eclipse to LispIDE is like your younger
daughter having a stinking pet goat in the dining room, and when you
come back from work, you discover that she traded it for a goldfish.
However, I suspect that Lispers have IDE-s that are even better than
LispIDE. For instance, I heard about SLIME, and tried to install it.
1 --- Installation proved to be very difficult. After a long time, I
succeeded. I also installed Emacs on my machine (SLIME requires
Emacs). Many people told me that Emacs is huge and slow. Well,
compared to Eclipse, Emacs looks lightweight (30M against 160M), fast,
bugfree, and easy to install and use. My installation problems
derived from SLIME, not from Emacs.
2 --- The editor worked fine, although it is less intuitive than
LispIDE.
3 --- The inferior Lisp, however, is awful. A program error makes it
freeze emacs (about once in four trials):
; SLIME 2009-03-08
CL-USER> (* 3 4 5)
60
CL-USER> (reco 3 4 5) ;; I made a mistake on purpose!
=== Another Window ====
The function RECO is undefined.
[Condition of type UNDEFINED-FUNCTION]
Restarts:
0: [RETRY] Retry SLIME REPL evaluation request.
1: [ABORT] Return to SLIME's top level.
2: [ABORT] Abort
3: [CLOSE-CONNECTION] Close SLIME connection
4: [ABORT] Exit debugger, returning to top level.
At this point, I acted like one of Skinner's pigeons: I tried
everything to please Slime --- I took turns in pressing 0, 1, 2, 3,
4. The result is always the same:
; SLIME 2009-03-08
CL-USER> (reco 3 4)
5
At the minibuffer, I get:
; pipelined request... (swank:listener-eval "5
; pipelined request... (swank:listener-eval "
At this point, Emacs is frozen! Slime produces this kind of error very
often in Windows Vista, and once and again in Windows XP. The only
thing that causes trouble is the slime-repl. If I work with the M-x
inferior lisp, everything goes fine. If somebody has experience in
fixing Slime, please share it with us. BTW, people often complain that
SLIME does not freeze, but disappears from Emacs. This also happens to
me, but since it is a mild problem, I an not worried with it.
Before you suggest that I use the default Emacs LispIDE, well, I see
no point in moving from LispIDE to it. Its inferior lisp is clearly
--- inferior -- to what LispIDE offers.
decided to give it a new trial. I compiled SBCL on Wintel, removed
the Kitten message (I am sceptical about the need of such a strong
warning), and wrote a few programs using the Scite editor. Then I
started my quest for a really good Lisp IDE. A lot of Lispers told me
that the best IDE is LispIDE. The reasons:
1 --- It comes with a very good Lisp help: Common Lisp The Language,
and Common Lisp Hyper Spec.
2 --- It has a good inferior lisp. I mean, one can run a Lisp process
on a special window.
3 --- It is small, so one can transfer it from machine to machine in
seconds. That is very important for me, since I often need to make
presentations and fast prototypes in machines belonging to clients.
4 -- It has a fine editor, with good parenthesis match. The editor is
somewhat basic, but it works.
Since I was used to an IDE called Eclipse, that is huge, slow,
difficult to install, and bug ridden, LispIDE seemed very nice indeed:
it is fast, lightweight, bugfree. I mean, compared to Eclipse, LispIDE
is wonderful. Moving from Eclipse to LispIDE is like your younger
daughter having a stinking pet goat in the dining room, and when you
come back from work, you discover that she traded it for a goldfish.
However, I suspect that Lispers have IDE-s that are even better than
LispIDE. For instance, I heard about SLIME, and tried to install it.
1 --- Installation proved to be very difficult. After a long time, I
succeeded. I also installed Emacs on my machine (SLIME requires
Emacs). Many people told me that Emacs is huge and slow. Well,
compared to Eclipse, Emacs looks lightweight (30M against 160M), fast,
bugfree, and easy to install and use. My installation problems
derived from SLIME, not from Emacs.
2 --- The editor worked fine, although it is less intuitive than
LispIDE.
3 --- The inferior Lisp, however, is awful. A program error makes it
freeze emacs (about once in four trials):
; SLIME 2009-03-08
CL-USER> (* 3 4 5)
60
CL-USER> (reco 3 4 5) ;; I made a mistake on purpose!
=== Another Window ====
The function RECO is undefined.
[Condition of type UNDEFINED-FUNCTION]
Restarts:
0: [RETRY] Retry SLIME REPL evaluation request.
1: [ABORT] Return to SLIME's top level.
2: [ABORT] Abort
3: [CLOSE-CONNECTION] Close SLIME connection
4: [ABORT] Exit debugger, returning to top level.
At this point, I acted like one of Skinner's pigeons: I tried
everything to please Slime --- I took turns in pressing 0, 1, 2, 3,
4. The result is always the same:
; SLIME 2009-03-08
CL-USER> (reco 3 4)
5
At the minibuffer, I get:
; pipelined request... (swank:listener-eval "5
; pipelined request... (swank:listener-eval "
At this point, Emacs is frozen! Slime produces this kind of error very
often in Windows Vista, and once and again in Windows XP. The only
thing that causes trouble is the slime-repl. If I work with the M-x
inferior lisp, everything goes fine. If somebody has experience in
fixing Slime, please share it with us. BTW, people often complain that
SLIME does not freeze, but disappears from Emacs. This also happens to
me, but since it is a mild problem, I an not worried with it.
Before you suggest that I use the default Emacs LispIDE, well, I see
no point in moving from LispIDE to it. Its inferior lisp is clearly
--- inferior -- to what LispIDE offers.