1 / 24
文档名称:

Yacas team - Lisp As An Implementation Language puter Algebra Systems.pdf

格式:pdf   页数:24
下载后只包含 1 个 PDF 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

Yacas team - Lisp As An Implementation Language puter Algebra Systems.pdf

上传人:bolee65 2014/8/1 文件大小:0 KB

下载得到文件列表

Yacas team - Lisp As An Implementation Language puter Algebra Systems.pdf

文档介绍

文档介绍:(IN PROGRESS) Lisp as an Implementation Language puter
Algebra Systems
by the Yacas team 1
Yacas version:
generated on May 20, 2003
Lisp is a very simple language, one suited for puter algebra. Almost all CAS systems today
owe a lot to the ideas that came from Lisp. This is a book on the Lisp language, and its connection
to Yacas. Yacas is built on top of a Lisp dialect.
1This text is part of the Yacas software package. Copyright 2000–2002. Principal documentation authors: Ayal Zwi Pinkus,
Serge Winitzki, Jitse Niesen. Permission is granted to copy, distribute and/or modify this document under the terms of the
GNU Free Documentation License, Version or any later version published by the Free Software Foundation; with no Invariant
Sections, no Front-Cover Texts and no Back-Cover Texts. A copy of the license is included in the section entitled “GNU Free
Documentation License”.
Contents
1 A brief introduction to Lisp 2
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Why choose Lisp over other languages? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
A little history of Lisp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
The Lisp mand line interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
A basic set of Lisp mands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Arbitrary precision arithmetic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
A few useful macros and functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
A reality check: implementing more functions in the interpreter for efficiency . . . . . . . . . . . . . . . 7
2 Language design issues 9
Enforcing correct code . . . . . . . . . . . . . . . . . . . . . .