Gnu Common Lisp for Microsoft Windows http://www.cs.utexas.edu/users/novak/gclwin.html
2007-10-29 22:02
543 查看
Gnu Common Lisp for Microsoft Windows
(If what you want is an interface to X Windows for GCL, that is here.) For a complete installation of Gnu Common Lisp get gcl-2.6.1.exe (15 MB download, 60 MB to install). Unfortunately, at present this version of GCL produces a ^M (Return) character at the end of each line when used within Emacs.For convenience, a version of GCL for Windows, renamed gcl.exe, is available for download here (3.4 MB). To install this software, put gcl.exe directly into C:/. This is an older version, but is smaller and does not produce the ^M characters.
GCL can be executed directly by double-clicking on it, but it is better when run from within Emacs.
Connecting Emacs to GCL:
The following steps will connect Emacs to GCL so that GCL can be run using the Emacs command M-x run-lisp.If you do the full installation, GCL will be installed in Program Files. Otherwise, put gcl.exe directly into C:/.
Define the HOME environment variable:
Start -> Control Panel -> System -> Advanced -> Environment Variables
Then define a new System variable HOME as your "home" directory, e.g.
C:/Documents and Settings/myname/My Documents/
where myname would be replaced by your user name.
Put the following file into your HOME directory: .emacs if using the full installation, .emacs if using gcl.exe. Note: when doing a Save As, be sure to save the file as text (.txt). The file must be named .emacs; right-click on the link above, then use Save Target As and change the name of the saved file to ".emacs", adding the quotation marks so that Windows will accept the file name. Alternatively, you can get the file by FTP.
If using the full installation, put the file gcl1.bat into the directory
C:/Program Files/GCL-2.6.1/bin
For convenience, put the following file into C:/ loadf.lsp Edit the file path in loadf.lsp to be the base directory you would like (such as your HOME directory).
To use Lisp from within Emacs:
Start Emacs. It is convenient to split Emacs into two sub-windows using C-x 2 or C-x 3 ; then you can run Lisp in one half-window while editing code in the other half-window.
Start Lisp in one sub-window with M-x run-lisp (For M-x, hold down the Alt key while typing x.)
Enter (load "C:/loadf.lsp")
Now you can load files using (loadf "myfile.lsp") or (loadf "mydir/myfile.lsp") where the file path that is specified to loadf will be the path from the base directory that was edited in loadf.lsp
Thanks to Jan Kok for suggestions for improving these instructions.
Gordon S. Novak Jr.
相关文章推荐
- 鉴于本人的经验,我不推荐使用sqlite for wp. Windows Phone(二) WP7数据库连接(SQLite数据库) 转:http://www.cnblogs.com/ry123/archive/2012/05/31/2528281.html
- gsoap 的好网站 http://www.cs.fsu.edu/~engelen/soapexamples.html
- http://www-cs-students.stanford.edu/~blynn/gitmagic/intl/zh_cn/index.html
- http://www.cs.rit.edu/~ncs/color/t_convert.html
- http://www.csee.wvu.edu/~xinl/source.html 突然发现无法登陆,现备份内容以便后续查询
- 微软在全国高校举办Silverlight大赛: http://www.msuniversity.edu.cn/static/silverlight/index.html
- 使用Windows Azure Mobile Service开发Windows Phone 8 App【转http://www.cnblogs.com/dlbrant/archive/2013/04/02/2996627.html】
- 微软在全国高校举办Silverlight大赛: http://www.msuniversity.edu.cn/static/silverlight/index.html
- 微软在全国高校举办Silverlight大赛: http://www.msuniversity.edu.cn/static/silverlight/index.html
- some usual error when configre glut, glui in windows(http://accad.osu.edu/~ywei/Help/HowTos.html)
- 找论文的好地方 http://www.soe.ucsc.edu/~you/notes/research-resources-ucsc.html
- Web架构设计 http://www.pcdog.com/edu/web-special/17/01/j331014.html
- http://www.cnblogs.com/hmmcsdd/archive/2007/10/11/windowsmediasdjieshao.html
- http://www.sudu.cn/info/html/edu/20071107/7028.html shell
- http://www.cnblogs.com/justforgl/archive/2012/07/27/2612364.html
- http://www.cnedu.cn/news/2006/9/li6120475431159600217328.html
- http://www.vcipl.okstate.edu/publications.html(资源转载)
- Linux--进程组、会话、守护进程 http://www.cnblogs.com/forstudy/archive/2012/04/03/2427683.html
- Microsoft CryptoAPI加密技术 转帖(http://www.cnblogs.com/bjrmt/archive/2006/06/19/429213.html)
- 使用Windows API PostThreadMessage进行线程间消息 http://www.cnblogs.com/pugang/archive/2012/08/24/2654278.html