lisp-hello world
·1min·李岩
lisp语言的基本表达式为S-表达式。这与受Algol语言影响的C系语言有很大的不同。显然,这很有趣:
;the bellow is hello world function in lisp
(defun hello-world()
"hello world function in lisp"
(format t "hello, world!"));```
由<code>()</code>所包围的内容,为*列表*,其余内容为原子。显然,lisp表达式有很多列表表示(List Processing)。