lisp在emacs下的调试与运行

本文主要参考:
http://www.gigamonkeys.com/book/lather-rinse-repeat-a-tour-of-the-repl.html

本文主要介绍如何在emacs中进行lisp程序的编写、调试和运行。
1、首先创建一个test.lisp文件。(C-x C-f)
2、创建完成后在文件中编写程序
(format t "hello world")
3、编写完成后使用M-x slime 启动slime界面,可以认为是调试界面。
4、在界面中调用刚刚的程序。(load "~/Project/lisp/project/test.lisp")
5、重新编写程序C-x o 切换窗口到刚才的test.lisp。
6、重新编写test.lisp中的内容。
7、使用命令C-c C-c重新编译。
lisp在emacs下的调试与运行
8、然后使用C-c C-z切换回slime窗口。
9、运行(hello-world)


相关文章: