简体中文 — ANSI Common Lisp 中文版】的更多相关文章

简体中文 - ANSI Common Lisp 中文版 简体中文¶…
ANSI Common Lisp 中文翻譯版 — ANSI Common Lisp 中文版 ANSI Common Lisp 中文翻譯版¶…
Ok, Go ahead. 1 (a) (b) (c) (d) 2 注:union 在 Common Lisp 中的作用就是求两个集合的并集.但是这有一个前提,即给的两个列表已经满足集合的属性了.具体的操作过程似乎是对第一个 list 中的每一个元素在第二个 list 中查找,如无则标记一下:待第一个 list 的所有元素在第二个 list 中查完以后将所有标记过的元素放入一个 list 中与第二个 list 进行合并.这意味着,如果刚开始给的两个 list 不完全满足集合的属性,则会有重复出现…
It has been a long time that I haven't dealt with my blog. On one hand I was preparing the exams.On the other hand I just learn more things and take some documents at local PC. As a result, I begin to learn Lisp as planned. 2.10 Variables let ; defin…
I work out the questions by myself Chapter 2 question 4. (defun greater (x y) (if (> x y) x y ) ) question 5. (a) (defun enigma (x) (and (not (null x)) (or (null (car x)) (enigma (cdr x)) ) ) ) ; to judge whether there is a nil in x (b) (defun myster…
MAC 下用 Common Lisp 调试 OpenGL 程序 环境搭建 运行环境: OSX 10.11.3 EI Capitan Common Lisp: SBCL 使用 SBCL, 首先要安装这几个库 quicklisp, cl-opengl, cl-glu, lispbuilder-sdl. 先安装好 quicklisp, 再用它来安装其他库. 安装过程如下. 安装 quicklisp 先安装 quicklisp Air:~ admin$ cd code-staff/ Air:code-s…
(2014.1写于CSDN的文章) 最近对lisp非常感兴趣,因此在google中搜索了“common lisp install windows”, 想装一个开发环境玩玩. 第一条结果就是 “Getting going with modern Common Lisp on Windows” : http://www.mohiji.org/2011/01/31/modern-common-lisp-on-windows/ 就按这篇文章安装,大部分过程都非常顺利(我的系统正好是win7!),除了两个…
Lisp Hackers: Interviews with 100x More Productive Programmers Posted on June 26th, 2013 Lisp Hackers: Interviews with 100x More Productive Programmers, by Vsevolod Dyomkin, is available for free in multiple formats from Leanpub. Let Over Lambda Post…
这是<ANSI Common Lisp>第10章“宏”的习题第6题: 定义一个宏,接受一变量列表以及一个代码主体,并确保变量在代码主体被求值后恢复 (revert)到原本的数值…
第三方软件库: http://download1.rpmfusion.org/free/fedora/releases/25/Everything/x86_64/os/repoview/index.html 原帖http://www.linuxdown.net/install/soft/2016/0303/4903.html 安装vim sudo dnf -y update sudo dnf install vim-enhanced common lisp 原帖:http://www.progr…
Difference between LET and LET* in Common LISP   LET   Parallel binding which means the bindings come to life at the same time and they do not shadow each other. The values are effective inside LET and they are undefined outside LET. Just like local…
这几天开始玩Common Lisp,遇上了一个有意思的问题,CL一般是解释运行,也有实现可以编译生成字节码(fas文件).我正在用的两种CL实现是SBCL和CLISP,前者是我从<实用Common Lisp编程>一书中看来的,CLISP相对于SBCL的特点之一就是CLISP把Lisp编译成字节码文件(这就和Java很类似了,倍感亲切),可是也不能直接编译出机器代码,这让我这个执着于汇编与C语言的感觉非常不爽,想到以前在<Python核心编程>上看到的"sh-bang&qu…
Scheme and Common Lisp use different names for some of the basic system functions. Many Lisp programs can be translated to the other dialect simply by changing these names (or by providing the existing names as macros or functions). Compatibility pac…
sudo apt-get install slime audo apt-get install sbcl ;;sbcl+slime for common lisp ;;sudo apt-get install sbcl slime (setq inferior-lisp-program "/usr/bin/sbcl") ; your Lisp system (add-to-list 'load-path "/usr/share/emacs23/site-lisp/slime&…
搭建Common Lisp编程环境的方法有很多种,这里我使用的是最常见的一种:SBCL + Emacs + SLIME. SBCL是Steel Bank Common Lisp的简称,它是Common Lisp的一种高质量的开源实现. SBCL有windows和linux版本可供下载.安装完成后,进入环境后,应该是个星号: * (教程中是"CL-USER>") 理论上就算环境ok了,不过简单验证下总没有坏处: *10(输入) 10(展示结果) *(+ 1 2)(输入) 3(展示结…
推动Common Lisp的实际应用 推动Common Lisp的实际应用…
Common Lisp第三方库介绍 | (R "think-of-lisper" 'Albertlee) Common Lisp第三方库介绍 一个丰富且高质量的开发库集合,对于实际开发来说不可或缺.同样,一个方便统一的库管理安装工具,也是非常重要的. 对于实际的Common LISP 开发,推荐的组合为:  Emacs + SLIME + ASDF + Quicklisp 下面介绍一些常用的 Common Lisp 第三方库,列表依照 Quicklisp的库列表 数据库存储相关: CL…
Lisp: Common Lisp, Racket, Clojure, Emacs Lisp - Hyperpolyglot Lisp: Common Lisp, Racket, Clojure, Emacs Lisp…
My Emacs For Common Lisp My Emacs For Common Lisp…
Practical Common Lisp Practical Common Lisp…
Common lisp菜鸟指南(译) Common lisp菜鸟指南(译)…
Common Lisp Style Guide - Ariel Networks Labs Common Lisp Style Guide…
Common Lisp学习笔记(0):从SLIME开始 | 优哉·幽斋 Common Lisp学习笔记(0):从SLIME开始…
小议common lisp程序开发流程 - Ever 17 - 博客频道 - CSDN.NET 小议common lisp程序开发流程 分类: lisp 2011-04-17 20:59 1316人阅读 评论(2) 收藏 举报 lisp程序开发python脚本imageemacs 作者:winterTTr(转载请注明) 最近在测试xml库的功能,于是写了一个下面的小程序: (require 'cxml) (require 'xpath) (defun main() (xpath:do-node-…
1. 在Common Lisp 眼中,一个符号的symbol-value 和symbol-function 是不一样的,而Scheme对两者不作区分.在Scheme 里面,变量只有唯一对应的值,它可以是个函数,也可以是另一种对象.因此,在Scheme 中就不需要#' 或者funcall 了.Common Lisp 的:(let ((f #'(lambda (x) (1+ x))))(funcall f 2))在Scheme 中将变成:(let ((f (lambda (x) (1+ x))))(…
[Common Lisp] 1.操作符是什么? 2.quote. 3.单引号是quote的缩写. 4.car与cdr方法. 5.古怪的if语句. 6.and语句. 7.判断是真假. null 与 not 方法. 8.递归. 9.缩排.…
当你把  xx 当做符号使用时   'xx  ,  这个符号是没有任何函数/变量语义的, 仅仅是一个 符号而已(就像一个string一样) 但你可以对这个string有其他的用法,比如使用它所binding的同名函数.使用它所binding的同名动态变量 (要知道,“代码” 不过是 一串String, 这就是 Macro所做的事) 你把Symbol当成一种可绑定函数.变量的东西就可以了! 可以看到,  上图的 defun inc 和 defmacro inc 的内部实现时一模一样的. 它们其实都…
lisp(本文专指common lisp)语言简介 lisp程序员能够并且经常编写一些能够写程序的程序,对于程序生成程序的这种特性, 因为lisp是主流语言中唯一一个提供一些方便的抽象来让你完成这个任务的语言,所以 lisp是主流语言中唯一一个广泛运用这个特性的语言. 编程其实就是寻求编写最优美的程序  ---高德纳 lisp黑客精神可以用两句话概括:编程应该是有趣的,程序应该是优美的. 约翰麦卡锡和他的学生于1958年展开lisp的初次实现工作,lisp是继Fortran之后,仍在使用 的最古…
setf  赋值操作符,定义一个全局变量.返回值是最后一个赋值的结果. let 局部变量操作符.let表达式有两部分组成.第一部分是任意多的变量赋值,他们被包裹在一个()中,第二部分是任意数量的表示式作为 let 的函数体.let 表达式的返回值为 最后一个表达式的求值结果. cons 对象. cons 作用:把两个对象结合成一个 cons对象. 本质:cons 对象是一对指针.第一个是 car,第二是 cdr. 列表对象 = cons 对象 + nil.所有不是 Cons 对象的东西,就是一个…
安装 sbcl .emacs 加入 ;for lisp mode (add-to-list 'load-path "D:/kuaipan/.emacs.d/elpa/slime-20131117.759") ; 注:在windows下路径分隔符为\\而不是\,否则会被解释为 D:slime, 或者改成另外一种写法 D:/slime (setq inferior-lisp-program "D:/pro/sbcl/sbcl.exe") ;注:如果此处路径有空格,在M-…