slime 은 emacs와 lisp를 합쳐서 만든 통합 개발 환경이다.
Superior Lisp Interaction Mode for Emacs 라..
vi도 안친한데 emacs를 이용해서 어떻게 해야하나 하아..
[링크 : http://common-lisp.net/project/slime/]
아무튼 간단하게 압축만 풀면 실행이 되는 slime for windows 프로그램이 있어서 투척
멋지게도 컬러풀하게 나오고 아래에서는 defun 이런거 입력하면 기본 유형이 나와준다.
[링크 : http://common-lisp.net/project/lispbox/] lispbox(slime for windows)
[링크 : http://www.cs.utexas.edu/~novak/gclwin.html] gnu lisp for windows
-----
우분투야 항상 그러하듯 slime 패키지를 설치하면 해결
일단 emacs를 실행하고 Alt-x 누른후 slime 이라고 입력한다.
[링크 : http://akoumjian.blogspot.com/2007/10/clisp-in-emacs-using-slime-on-ubuntu.html]
Superior Lisp Interaction Mode for Emacs 라..
vi도 안친한데 emacs를 이용해서 어떻게 해야하나 하아..
[링크 : http://common-lisp.net/project/slime/]
아무튼 간단하게 압축만 풀면 실행이 되는 slime for windows 프로그램이 있어서 투척
멋지게도 컬러풀하게 나오고 아래에서는 defun 이런거 입력하면 기본 유형이 나와준다.
[링크 : http://common-lisp.net/project/lispbox/] lispbox(slime for windows)
[링크 : http://www.cs.utexas.edu/~novak/gclwin.html] gnu lisp for windows
-----
우분투야 항상 그러하듯 slime 패키지를 설치하면 해결
$ sudo apt-get install slime
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다
상태 정보를 읽는 중입니다... 완료
다음 패키지를 더 설치할 것입니다:
cl-swank emacs emacs23 emacs23-bin-common emacs23-common
제안하는 패키지:
emacs23-el
다음 새 패키지를 설치할 것입니다:
cl-swank emacs emacs23 emacs23-bin-common emacs23-common slime
0개 업그레이드, 6개 새로 설치, 0개 지우기 및 0개 업그레이드 안 함.
25.3M바이트 아카이브를 받아야 합니다.
이 작업 후 77.8M바이트의 디스크 공간을 더 사용하게 됩니다.
계속 하시겠습니까 [Y/n]?
받기:1 http://kr.archive.ubuntu.com/ubuntu/ lucid/universe cl-swank 1:20090908-1 [466kB]
받기:2 http://kr.archive.ubuntu.com/ubuntu/ lucid-updates/main emacs23-common 23.1+1-4ubuntu7.2 [20.6MB]
받기:3 http://kr.archive.ubuntu.com/ubuntu/ lucid-updates/main emacs23-bin-common 23.1+1-4ubuntu7.2 [171kB]
받기:4 http://kr.archive.ubuntu.com/ubuntu/ lucid-updates/main emacs23 23.1+1-4ubuntu7.2 [3,039kB]
받기:5 http://kr.archive.ubuntu.com/ubuntu/ lucid-updates/main emacs 23.1+1-4ubuntu7.2 [22.4kB]
받기:6 http://kr.archive.ubuntu.com/ubuntu/ lucid/universe slime 1:20090908-1 [950kB]
내려받기 25.3M바이트, 소요시간 12초 (2,020k바이트/초)
전에 선택하지 않은 cl-swank 패키지를 선택합니다.
(데이터베이스 읽는중 ...현재 153697개의 파일과 디렉토리가 설치되어 있습니다.)
cl-swank 패키지를 푸는 중입니다 (.../cl-swank_1%3a20090908-1_all.deb에서) ...
전에 선택하지 않은 emacs23-common 패키지를 선택합니다.
emacs23-common 패키지를 푸는 중입니다 (.../emacs23-common_23.1+1-4ubuntu7.2_all.deb에서) ...
전에 선택하지 않은 emacs23-bin-common 패키지를 선택합니다.
emacs23-bin-common 패키지를 푸는 중입니다 (.../emacs23-bin-common_23.1+1-4ubuntu7.2_i386.deb에서) ...
전에 선택하지 않은 emacs23 패키지를 선택합니다.
emacs23 패키지를 푸는 중입니다 (.../emacs23_23.1+1-4ubuntu7.2_i386.deb에서) ...
전에 선택하지 않은 emacs 패키지를 선택합니다.
emacs 패키지를 푸는 중입니다 (.../emacs_23.1+1-4ubuntu7.2_all.deb에서) ...
전에 선택하지 않은 slime 패키지를 선택합니다.
slime 패키지를 푸는 중입니다 (.../slime_1%3a20090908-1_all.deb에서) ...
install-info에 대한 트리거를 처리하는 중입니다 ...
man-db에 대한 트리거를 처리하는 중입니다 ...
desktop-file-utils에 대한 트리거를 처리하는 중입니다 ...
python-gmenu에 대한 트리거를 처리하는 중입니다 ...
Rebuilding /usr/share/applications/desktop.ko_KR.utf8.cache...
hicolor-icon-theme에 대한 트리거를 처리하는 중입니다 ...
python-support에 대한 트리거를 처리하는 중입니다 ...
cl-swank (1:20090908-1) 설정하는 중입니다 ...
emacs23-common (23.1+1-4ubuntu7.2) 설정하는 중입니다 ...
emacs23-bin-common (23.1+1-4ubuntu7.2) 설정하는 중입니다 ...
update-alternatives: using /usr/bin/b2m.emacs23 to provide /usr/bin/b2m (b2m) in auto mode.
update-alternatives: using /usr/bin/ctags.emacs23 to provide /usr/bin/ctags (ctags) in auto mode.
update-alternatives: using /usr/bin/ebrowse.emacs23 to provide /usr/bin/ebrowse (ebrowse) in auto mode.
update-alternatives: using /usr/bin/emacsclient.emacs23 to provide /usr/bin/emacsclient (emacsclient) in auto mode.
update-alternatives: using /usr/bin/etags.emacs23 to provide /usr/bin/etags (etags) in auto mode.
update-alternatives: using /usr/bin/grep-changelog.emacs23 to provide /usr/bin/grep-changelog (grep-changelog) in auto mode.
update-alternatives: using /usr/bin/rcs-checkin.emacs23 to provide /usr/bin/rcs-checkin (rcs-checkin) in auto mode.
emacs23 (23.1+1-4ubuntu7.2) 설정하는 중입니다 ...
update-alternatives: using /usr/bin/emacs23-x to provide /usr/bin/emacs (emacs) in auto mode.
emacs-install emacs23
install/dictionaries-common: Byte-compiling for emacsen flavour emacs23
Wrote /usr/share/emacs23/site-lisp/dictionaries-common/debian-ispell.elc
Wrote /usr/share/emacs23/site-lisp/dictionaries-common/ispell.elc
Wrote /usr/share/emacs23/site-lisp/dictionaries-common/flyspell.elc
emacsen-common: Handling install of emacsen flavor emacs23
emacsen-common: byte-compiling for emacs23
Wrote /etc/emacs23/site-start.d/00debian-vars.elc
In debian-run-directories:
debian-startup.el:131:25:Warning: `mapcar' called for effect; use `mapc' or
`dolist' instead
Wrote /usr/share/emacs23/site-lisp/debian-startup.elc
install/gforth: Byte-compiling for emacsen flavour emacs23
Wrote /usr/share/emacs23/site-lisp/gforth/gforth.elc
install/slime: Handling install for emacsen flavor emacs23
Loading 00debian-vars...
No /etc/mailname. Reverting to default...
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
Loading debian-ispell...
Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...
Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...
Loading /etc/emacs/site-start.d/50gforth.el (source)...
Loading tramp...
Wrote /usr/share/emacs23/site-lisp/slime/hyperspec.elc
Wrote /usr/share/emacs23/site-lisp/slime/slime-autoloads.elc
Wrote /usr/share/emacs23/site-lisp/slime/slime.elc
Wrote /usr/share/emacs23/site-lisp/slime/tree-widget.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/bridge.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/inferior-slime.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-asdf.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-autodoc.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-banner.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-c-p-c.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-clipboard.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-compiler-notes-tree.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-editing-commands.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-enclosing-context.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-fancy-inspector.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-fancy.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-fontifying-fu.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-fuzzy.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-highlight-edits.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-indentation-fu.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-indentation.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-mdot-fu.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-motd.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-mrepl.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-package-fu.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-parse.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-presentation-streams.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-presentations.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-references.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-repl.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-sbcl-exts.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-scheme.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-scratch.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-tramp.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-typeout-frame.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-xref-browser.elc
install/cscope: Byte-compiling for emacs23
Wrote /usr/share/emacs23/site-lisp/cscope/xcscope.elc
emacs (23.1+1-4ubuntu7.2) 설정하는 중입니다 ...
slime (1:20090908-1) 설정하는 중입니다 ...
emacsen-common: Handling install of emacsen flavor emacs
emacsen-common: Handling install of emacsen flavor emacs23
emacsen-common: byte-compiling for emacs23
Wrote /etc/emacs23/site-start.d/00debian-vars.elc
In debian-run-directories:
debian-startup.el:131:25:Warning: `mapcar' called for effect; use `mapc' or
`dolist' instead
Wrote /usr/share/emacs23/site-lisp/debian-startup.elc
install/slime: Handling install for emacsen flavor emacs23
rm: `/usr/share/emacs23/site-lisp/slime/ChangeLog'를 지울 수 없음: No such file or directory
Loading 00debian-vars...
No /etc/mailname. Reverting to default...
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
Loading debian-ispell...
Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...
Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...
Loading /etc/emacs/site-start.d/50gforth.el (source)...
Loading /etc/emacs/site-start.d/50slime.el (source)...
Loading /usr/share/emacs23/site-lisp/slime/slime-autoloads (compiled; note, source file is newer)...
Source file `/usr/share/emacs23/site-lisp/slime/contrib/slime-fancy.el' newer than byte-compiled file
Source file `/usr/share/emacs23/site-lisp/slime/contrib/slime-repl.el' newer than byte-compiled file
Source file `/usr/share/emacs23/site-lisp/slime/contrib/slime-autodoc.el' newer than byte-compiled file
Source file `/usr/share/emacs23/site-lisp/slime/contrib/slime-parse.el' newer than byte-compiled file
Source file `/usr/share/emacs23/site-lisp/slime/contrib/slime-enclosing-context.el' newer than byte-compiled file
Source file `/usr/share/emacs23/site-lisp/slime/contrib/slime-c-p-c.el' newer than byte-compiled file
Source file `/usr/share/emacs23/site-lisp/slime/contrib/slime-editing-commands.el' newer than byte-compiled file
Source file `/usr/share/emacs23/site-lisp/slime/contrib/slime-fancy-inspector.el' newer than byte-compiled file
Source file `/usr/share/emacs23/site-lisp/slime/contrib/slime-fuzzy.el' newer than byte-compiled file
Source file `/usr/share/emacs23/site-lisp/slime/contrib/slime-highlight-edits.el' newer than byte-compiled file
Source file `/usr/share/emacs23/site-lisp/slime/contrib/slime-presentations.el' newer than byte-compiled file
Source file `/usr/share/emacs23/site-lisp/slime/contrib/slime-scratch.el' newer than byte-compiled file
Source file `/usr/share/emacs23/site-lisp/slime/contrib/slime-xref-browser.el' newer than byte-compiled file
Source file `/usr/share/emacs23/site-lisp/slime/tree-widget.el' newer than byte-compiled file
Source file `/usr/share/emacs23/site-lisp/slime/contrib/slime-references.el' newer than byte-compiled file
Source file `/usr/share/emacs23/site-lisp/slime/contrib/slime-mdot-fu.el' newer than byte-compiled file
Source file `/usr/share/emacs23/site-lisp/slime/contrib/slime-package-fu.el' newer than byte-compiled file
Source file `/usr/share/emacs23/site-lisp/slime/contrib/slime-fontifying-fu.el' newer than byte-compiled file
Source file `/usr/share/emacs23/site-lisp/slime/contrib/slime-asdf.el' newer than byte-compiled file
Source file `/usr/share/emacs23/site-lisp/slime/contrib/slime-banner.el' newer than byte-compiled file
Loading tramp...
Wrote /usr/share/emacs23/site-lisp/slime/hyperspec.elc
Wrote /usr/share/emacs23/site-lisp/slime/slime-autoloads.elc
Wrote /usr/share/emacs23/site-lisp/slime/slime.elc
Wrote /usr/share/emacs23/site-lisp/slime/tree-widget.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/bridge.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/inferior-slime.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-asdf.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-autodoc.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-banner.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-c-p-c.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-clipboard.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-compiler-notes-tree.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-editing-commands.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-enclosing-context.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-fancy-inspector.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-fancy.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-fontifying-fu.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-fuzzy.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-highlight-edits.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-indentation-fu.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-indentation.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-mdot-fu.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-motd.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-mrepl.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-package-fu.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-parse.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-presentation-streams.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-presentations.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-references.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-repl.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-sbcl-exts.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-scheme.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-scratch.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-tramp.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-typeout-frame.elc
Wrote /usr/share/emacs23/site-lisp/slime/contrib/slime-xref-browser.elc
일단 emacs를 실행하고 Alt-x 누른후 slime 이라고 입력한다.
그러면 clisp를 통해서 어쩌구 저쩌구 하고는 아래와 같이 프롬프트가 뜬다.
[링크 : http://akoumjian.blogspot.com/2007/10/clisp-in-emacs-using-slime-on-ubuntu.html]
'Programming > lisp' 카테고리의 다른 글
lisp는 리스트지 prefix 표기법이 아니다 (0) | 2012.11.19 |
---|---|
lisp 관련 책 (0) | 2012.01.25 |
lisp 문법 (0) | 2012.01.24 |
우분투에서 lisp 설치하기 (0) | 2012.01.15 |
lisp (0) | 2011.05.05 |
Posted by 구차니