Common Lisp을 Windows에서 실행 환경.
- Slime은 Emacs와 Lisp 컴파일러/인터프리터를 연결해 주는 다리 역할.
- 참고를 위해 Windows XP 환경에서 Emacs ver 22.1.1 과 Slime 을 사용하기 위해 사용했던 파일 업로드.
Allegro CL + Slime + Emacs
1. Install Allegro Common Lisp
2. Download and install GNU Emacs
Pre-compiled version is here
3. Download and install SLIME
SLIME (The Superior Lisp Interaction Mode for Emacs)
4. Update the Emacs initialization file (.emacs)
(sample file: .emacs)
5. Update the Slime initialization file (.slime.lisp)
(sample file: .slime.lisp)
6. Set 'HOME' environmental variable (for MS-Windows user)
My Computer > System Properties > Advanced > Envionmental Variables 에서 User Variables 섹션에 HOME 변수 추가로 만들고 값은 c:\emacs (.emacs 초기화 파일이 있는 폴더) 로 설정.
설정이 완료되고 Emacs를 실행한 후, 슬라임 (M-x slime)을 실행해서 아래 초기 화면이 로딩되면 OK.

CLISP + Emacs + Slime (아래의 Intalling Clisp, Emacs, and Slime on Windows 링크 참조)
1. (편의상) C (또는 D) 드라이브 상에 다음 폴더들을 만든다. (c:/home/ 또는 c:/home/[user-name]/)
c:/home/
c:/home/bin
c:/home/bin/clisp
c:/home/bin/emacs
2. Windows 환경 변수 (User Variables) setting
HOME c:/home/bin/emacs
TEMP c:/temp (디폴트 경로를 사용할경우 8자 이상의 경로명 때문에 Clisp에서 에러 발생 가능)
3. Emacs 설치 및 초기화
c:/home/bin/emacs/site-lisp 폴더에site-start.el 이라는 이름의 파일을 만들고 아래 내용을 write 후 save.
(setenv "HOME" "c:/home/")
4. Clisp 설치 및 초기화
Clisp 다운로드 후 설치 폴더를 c:/home/bin/clisp 으로 설정
5. Slime 설치 및 초기화
CVS를 이용하여 slime 최신 버전을 checkout 한 후
(cvs -d :pserver:anonymous:anonymous@common-lisp.net:/project/slime/cvsroot co slime)
c:/home/bin/emacs/site-lisp 폴더에 설치
Emacs 실행 후(Ctrl-x Ctrl-f), c:/home/bin/emacs/ 폴더에 .emacs 파일을 생성하고 아래 내용을 write & save (Ctrl-x Ctrl-s)
Eval-buffer command 실행 (M-x eval-buffer) 후, slime 실행 (M-x slime) 하면 Lisp 인터프리터가 실행됨.
Useful Links
Using SLIME with Allegro Common Lisp
GNU Emacs FAQ for MS Windows
The Common Lisp Cookbook : Using Emacs as a Lisp IDE
Slime Setup for Windows
Intalling Clisp, Emacs, and Slime on Windows
Run Slime and Clisp for Windows
How to use CVS from the command line in Windows
Using and Installing Clisp
fasl
asdf
- Slime은 Emacs와 Lisp 컴파일러/인터프리터를 연결해 주는 다리 역할.
- 참고를 위해 Windows XP 환경에서 Emacs ver 22.1.1 과 Slime 을 사용하기 위해 사용했던 파일 업로드.
Allegro CL + Slime + Emacs
1. Install Allegro Common Lisp
2. Download and install GNU Emacs
Pre-compiled version is here
3. Download and install SLIME
SLIME (The Superior Lisp Interaction Mode for Emacs)
4. Update the Emacs initialization file (.emacs)
(sample file: .emacs)
5. Update the Slime initialization file (.slime.lisp)
(sample file: .slime.lisp)
6. Set 'HOME' environmental variable (for MS-Windows user)
My Computer > System Properties > Advanced > Envionmental Variables 에서 User Variables 섹션에 HOME 변수 추가로 만들고 값은 c:\emacs (.emacs 초기화 파일이 있는 폴더) 로 설정.
설정이 완료되고 Emacs를 실행한 후, 슬라임 (M-x slime)을 실행해서 아래 초기 화면이 로딩되면 OK.

CLISP + Emacs + Slime (아래의 Intalling Clisp, Emacs, and Slime on Windows 링크 참조)
1. (편의상) C (또는 D) 드라이브 상에 다음 폴더들을 만든다. (c:/home/ 또는 c:/home/[user-name]/)
c:/home/
c:/home/bin
c:/home/bin/clisp
c:/home/bin/emacs
2. Windows 환경 변수 (User Variables) setting
HOME c:/home/bin/emacs
TEMP c:/temp (디폴트 경로를 사용할경우 8자 이상의 경로명 때문에 Clisp에서 에러 발생 가능)
3. Emacs 설치 및 초기화
c:/home/bin/emacs/site-lisp 폴더에site-start.el 이라는 이름의 파일을 만들고 아래 내용을 write 후 save.
(setenv "HOME" "c:/home/")
4. Clisp 설치 및 초기화
Clisp 다운로드 후 설치 폴더를 c:/home/bin/clisp 으로 설정
5. Slime 설치 및 초기화
CVS를 이용하여 slime 최신 버전을 checkout 한 후
(cvs -d :pserver:anonymous:anonymous@common-lisp.net:/project/slime/cvsroot co slime)
c:/home/bin/emacs/site-lisp 폴더에 설치
Emacs 실행 후(Ctrl-x Ctrl-f), c:/home/bin/emacs/ 폴더에 .emacs 파일을 생성하고 아래 내용을 write & save (Ctrl-x Ctrl-s)
(setq inferior-lisp-program “[HOME]/bin/clisp/full/lisp.exe
-B [HOME]/bin/clisp/full
-M [HOME]/bin/clisp/full/lispinit.mem
-ansi -q”)
(add-to-list ‘load-path “[HOME]/bin/emacs/site-lisp/slime/”)
(require ‘slime)
(slime-setup)
Eval-buffer command 실행 (M-x eval-buffer) 후, slime 실행 (M-x slime) 하면 Lisp 인터프리터가 실행됨.
Useful Links
Using SLIME with Allegro Common Lisp
GNU Emacs FAQ for MS Windows
The Common Lisp Cookbook : Using Emacs as a Lisp IDE
Slime Setup for Windows
Intalling Clisp, Emacs, and Slime on Windows
Run Slime and Clisp for Windows
How to use CVS from the command line in Windows
Using and Installing Clisp
fasl
asdf



덧글