Download Common Lisp: An Interactive Approach (Principles of Computer by Stuart C. Shapiro PDF

By Stuart C. Shapiro

It is a first-class LISP e-book; maybe the easiest. The ebook is brief (~240 pages), stress-free to learn and comprises an intensive reference of the language at the back of the e-book. i might certainly suggest examining this ebook ahead of advancing onto Paul Graham's "On Lisp".

Show description

Read or Download Common Lisp: An Interactive Approach (Principles of Computer Science Series) PDF

Best software books

Agile Software Requirements: Lean Requirements Practices for Teams, Programs, and the Enterprise

“We desire greater techniques to knowing and coping with software program standards, and Dean presents them during this e-book. He attracts rules from 3 very beneficial highbrow swimming pools: classical administration practices, Agile equipment, and lean product improvement. through combining the strengths of those 3 ways, he has produced anything that works higher than anybody in isolation.

Software Engineering, Business Continuity, and Education: International Conferences ASEA, DRBC and EL 2011, Held as Part of the Future Generation Information Technology Conference, FGIT 2011, in Conjunction with GDC 2011, Jeju Island, Korea, December 8-10

This ebook contains chosen papers of the overseas meetings, ASEA, DRBC and EL 2011, held as a part of the long run iteration info expertise convention, FGIT 2011, along side GDC 2011, Jeju Island, Korea, in December 2011. The papers provided have been conscientiously reviewed and chosen from quite a few submissions and focuse at the a variety of facets of advances in software program engineering and its program, catastrophe restoration and enterprise continuity, schooling and studying.

Software Measurement: Current Trends in Research and Practice

Software program builders are confronted with the problem of creating software program platforms and items of ever higher caliber and defense, whereas even as being confronted with the becoming strain of prices aid on the way to achieve and hold aggressive benefits. As in any clinical and engineering self-discipline, trustworthy dimension is key for speaking on this type of problem.

Extra info for Common Lisp: An Interactive Approach (Principles of Computer Science Series)

Example text

A symbol’s name is an instance of another Common Lisp object type, called a string. So before pursuing the discussion of symbols and symbol names, we will have to discuss strings, and since a string is made up of characters (another type of Common Lisp object), we will have to discuss characters also. A string is a vector (single-dimensional array) of characters and is both read and printed by Lisp as a sequence of its characters surrounded by double quotes. " is a string. " 21 22 I: THE BASICS A string can be as long as you like and can contain strange characters such as the carriage return character.

1 (r) Type some small positive and negative integers, one per line. Note that Lisp types them back. Try typing some positive integers with the optional plus sign. 2 (i) Type some small floating-point numbers to Lisp. Note the representation Lisp uses in typing them back to you. 0000521347. Type them one per line and see how your Lisp responds. 0l-5. What exponent markers does your Common Lisp use in the . numbers it prints? 12s-5, and so on, adding digits to the right until you exceed the ability of short-float numbers to represent them.

This is not just a temporary technique, however. All Lisp programmers use this “desk calculator” mode all the time to develop and test their programs. You will, too. 2 (i) Ask Lisp to evaluate (notafunction 5 3). What is the error message when you try to evaluate a list that doesn’t begin with the name of a function? 3 (d) See what happens if you mistakenly leave out the blank between the operator and the first argument by typing (+2 3) and (*2 3) to Lisp. 4 (d) See what happens if you mistakenly leave out the operator altogether, by typing (2 3) to Lisp.

Download PDF sample

Rated 4.97 of 5 – based on 29 votes