Mac OS Xã§Common Lispã®å®è¡ç°å¢ãä½ã(CLISP + Carbon Emacs + SLIME)
質åããããããããã°ã»ããã¢ããã®èª¬æãæ¸ãã¦ãªãã£ããã¨ã«æ°ã¥ãã¾ããã
Lispã¯GNU CLISP 2.43ãOSã¯Mac OS X v10.5 Leopardãå®è¡ã¯Carbon Emacsï¼Slimeã§ãã
ãã£ã±ãCarbon Emacsããslimeèµ·å(M-x slime)ãã¤ã³ã¿ããªã¿ã«ã³ãã³ããæã¡è¾¼ãå½¢ã§å®è¡çµæãå¾ã¦ãã¾ãã
以ä¸ã¯ã»ããã¢ããã®ã¨ãã®ã¡ã¢ã§ãã
ã¤ã³ã¹ãã¼ã«
sudo port clean clisp sudo port install clisp
ä¸åããããäºåç®ã§æåã
emacsã§ã®å®è¡ç°å¢æºå
SLIME: The Superior Lisp Interaction Mode for Emacs
http://common-lisp.net/project/slime/#downloading
slimeããã¦ã³ãã¼ããå±éã
slimeãã£ã¬ã¯ããªãã¢ããªã±ã¼ã·ã§ã³ã«ã³ãã¼ã
.emacsã«è¿½è¨ã
(setq inferior-lisp-program "/opt/local/bin/clisp") (add-to-list 'load-path "/Applications/slime") (require 'slime) (slime-setup)
ãã¼ã¸ã§ã³ç¢ºèª
%clisp --version GNU CLISP 2.43 (2007-11-18) (built 3429294378) (memory 3429294690) Software: GNU C 4.0.1 (Apple Inc. build 5465) gcc -D_NONSTD_SOURCE -Igllib -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -falign-functions=4 -DUNIX_BINARY_DISTRIB -DUNICODE -I. -x none -L/opt/local/lib -lintl -liconv -lc -Wl,-framework -Wl,CoreFoundation -L/opt/local/lib -lreadline -lncurses -L/opt/local/lib -liconv -L/opt/local/lib -lsigsegv -lc -R/opt/local/lib -L/usr/X11/lib -R/usr/X11/lib SAFETY=0 HEAPCODES STANDARD_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY libsigsegv 2.5 libiconv 1.11 libreadline 5.2 Features: (REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN GETTEXT UNICODE BASE-CHAR=CHARACTER UNIX MACOS) C Modules: (clisp i18n syscalls regexp) Installation directory: /opt/local/lib/clisp-2.43/ User language: ENGLISH
ã¡ã¢
Macèªä½ã触ãå§ãã¦éããªããã¨ããããã©ã¤ãã©ãªãªããã©ãã«ç½®ããã¨ãã£ããã¨ãã¾ã ãã¡ãã¨ææ¡ã§ãã¦ããªãé¨åãããã¾ãããã®ãããè¨å®ã¯åèã«ããã¦ããã ãããµã¤ããã®ã¾ã¾ã ã£ãããã¾ãã
åèã«ãã¾ãã
rubyneko - MacPortsã§Mac OSX Leopardã«Common Lispãã¤ã³ã¹ãã¼ã«ã§ãã
http://ujihisa.nowa.jp/entry/9df2c5a6ea
clisp + slime + Carbon Emacs - å±±ç¾ã®é ã®æ¥è¨
http://d.hatena.ne.jp/tolerance/20080731
Mac OS Xä¸ã§ã®Common Lispå¦çç³»(SBCL)ã®å©ç¨
http://web.sfc.keio.ac.jp/~k12u/lecture/KB/mac_cl.html