Download Computer Science Logo Style (Volume 1: Symbolic Computing) by Brian Harvey PDF

By Brian Harvey

This sequence is for people--adults and teenagers--who have an interest in laptop programming simply because it's enjoyable. the 3 volumes use the emblem programming language because the automobile for an exploration of computing device technology from the point of view of symbolic computation and synthetic intelligence. emblem is a dialect of Lisp, a language utilized in the main complex study tasks in desktop technology, specifically in man made intelligence. during the sequence, useful programming ideas (including better order features and recursion) are emphasised, yet conventional sequential programming can be used whilst applicable. within the moment version, the 1st volumes were rearranged in order that illustrative case stories look with the options they reveal. quantity 1 incorporates a new bankruptcy approximately greater order services, and the recursion chapters were reorganized for larger readability. quantity 2 incorporates a new educational bankruptcy approximately macros, an specific power of Berkeley emblem, and new initiatives. in the course of the sequence, the bigger software examples were rewritten for better clarity via extra huge use of information abstraction. quantity 1 Symbolic Computing, is addressed to a reader who has used desktops and needs to profit the guidelines at the back of them. Symbolic computing is the manipulation of phrases and sentences, against this either to the images most folks go along with emblem and to the numerical computation with which extra conventional languages corresponding to Pascal and C++ are so much cozy. This quantity is widely known for its transparent and thorough presentation of recursion, a key suggestion in machine technology that different texts deal with as arcane and hard. the emblem courses in those books and the author's loose Berkeley emblem interpreter can be found through the net or on diskette.

Show description

Read or Download Computer Science Logo Style (Volume 1: Symbolic Computing) PDF

Similar programming books

Beginning Perl (3rd Edition)

This can be a e-book for these folks who believed that we didn’t have to research Perl, and now we all know it truly is extra ubiquitous than ever. Perl is intensely versatile and robust, and it isn’t fearful of internet 2. zero or the cloud. initially touted because the duct tape of the net, Perl has given that advanced right into a multipurpose, multiplatform language current totally in every single place: heavy-duty net purposes, the cloud, structures management, normal language processing, and fiscal engineering.

Additional info for Computer Science Logo Style (Volume 1: Symbolic Computing)

Sample text

Greet "Brian Hello, Brian Pleased to meet you. greet "Emma Hello, Emma Pleased to meet you. This procedure will be similar to the hello command in the last chapter, except that what it prints will depend on the input we give it. Each time we invoke greet, we want to give it an input. So that Logo will expect an input, we must provide for one when we define greet. ) Also, in order for the instructions inside greet to be able to use the input, we must give the input a name. Both of these needs are met in the to command that supplies the title line for the procedure: ?

It will be a few more chapters before you should expect to feel really confident about undertaking new projects of your own. But you won’t break anything by trying now. Go ahead, fool around! No Exercises 9 2 Procedures Logo is one of the most powerful programming languages around. In order to take advantage of that power, you must understand Logo’s central ideas: procedures and evaluation. It is with these ideas that our exploration of Logo programming begins. Procedures and Instructions In response to Logo’s question-mark prompt, type this instruction: print 17 Logo will respond to this instruction by printing the number 17 and then printing another question mark, to indicate that it’s ready for another instruction: ?

A variable can only contain one thing or value. ) Another problem with the mailbox metaphor is that to read a letter, you take it out of the mailbox and tear it open. Then it isn’t in the mailbox any more. When you invoke thing to look at the thing in a variable, on the other hand, it’s still in the variable. You could use thing again and get the same answer. There are two metaphors that I like. The one I like best won’t make sense for a while, until we talk about scope of variables. But here is the one I like second best: Sometimes when you take a bus or a taxi, there is a little frame up in front that looks like this: Your driver’s name is: John Smith The phrase “your driver’s name is” is like a label for this frame, and it corresponds to the name of a variable.

Download PDF sample

Rated 4.28 of 5 – based on 34 votes