1 option
Smalltalk-80 : the language / Adele Goldberg and Dave Robson.
LIBRA QA76.8.S635 G639 1989
Available from offsite location
- Format:
- Book
- Author/Creator:
- Goldberg, Adele.
- Series:
- Addison-Wesley series in computer science
- Language:
- English
- Subjects (All):
- Smalltalk-80 (Computer program language).
- Physical Description:
- xvii, 585 pages : illustrations ; 24 cm.
- Place of Publication:
- Reading, Mass. : Addison-Wesley, [1989]
- Summary:
- The Smalltalk-80 system is an integrated, graphical, and interactive programming environment with capabilities for producing highly functional contact with personal computer systems. This book, a revision of Smalltalk-80: The Language and its Implementation, includes the latest developments and newest features of Smalltalk-80 Version 2.
- The book is intended for programmers or programming language designers interested in the Smalltalk-80 language and its development environment on a particular kind of hardware system. It assumes that the reader is familiar with at least one programming language and with sequencing of instruction in a computer.
- Contents:
- Part 1
- 1 Objects and Messages 5
- Classes and Instances 8
- An Example Application 10
- System Classes 13
- Summary of Terminology 16
- 2 Expression Syntax 17
- Literals 19
- Variables 21
- Messages 24
- Blocks 31
- Summary of Terminology 37
- 3 Classes and Instances 39
- Protocol Descriptions 41
- Implementation Descriptions 43
- Variable Declarations 44
- Methods 48
- Primitive Methods 52
- Summary of Terminology 53
- 4 Subclasses 55
- Subclass Descriptions 58
- An Example Subclass 59
- Method Determination 61
- Abstract Superclasses 66
- Subclass Framework Messages 72
- Summary of Terminology 73
- 5 Metaclasses 75
- Initialization of Instances 77
- An Example Metaclass 78
- Metaclass Inheritance 81
- Initialization of Class Variables 84
- Summary of Method Determination 88
- Summary of Terminology 89
- Part 2
- 6 Protocol for all Objects 93
- Testing the Functionality of an Object 95
- Comparing Objects 96
- Copying Objects 97
- Accessing the Parts of an Object 99
- Printing and Storing Objects 100
- Error Handling 102
- 7 Linear Measures 105
- Class Magnitude 107
- Class Date 108
- Class Time 111
- Class Character 114
- 8 Numerical Classes 117
- Protocol of the Number Classes 120
- Classes Float and Fraction 126
- Integer Classes 127
- Class Random: A Random Number Generator 129
- 9 Protocol for All Collection Classes 131
- Adding, Removing, and Testing Elements 134
- Enumerating Elements 136
- Instance Creation 139
- Conversion Among Collection Classes 140
- 10 Hierarchy of the Collection Classes 143
- Class Bag 147
- Class Set 148
- Classes Dictionary and IdentityDictionary 148
- Class SequenceableCollection 153
- Subclasses of SequenceableCollection 157
- Class ArrayedCollection 165
- Class MappedCollection 168
- Summary of Conversions Among Collections 169
- 11 Three Examples that Use Collections 171
- Random Selection and Playing Cards 172
- The Drunken Cockroach Problem 181
- Traversing Binary Trees 185
- 12 Protocol for Streams 193
- Class Stream 195
- Positionable Streams 198
- Streams for Generated Elements 204
- Streams for Collections Without External Keys 205
- External Streams and File Streams 208
- 13 Implementations of the Basic Collection Protocol 211
- Class Collection 212
- Subclasses of Collection 219
- 14 Kernel Support Classes 235
- Class UndefinedObject 237
- Classes Boolean, True, and False 237
- Additional Protocol for Class Object 239
- 15 Multiple Independent Processes 249
- Processes 251
- Semaphores 257
- Class SharedQueue 265
- Class Delay 266
- 16 Protocol for Classes 267
- Class Behavior 272
- Class ClassDescription 284
- Class Metaclass 287
- Class Class 288
- 17 The Programming Interface 291
- Views 292
- Browsers 297
- Testing 308
- Error Reporting 314
- Implementation Classes 327
- 18 The Graphics Kernel 329
- Graphical Representation 331
- Graphical Storage 331
- Graphical Manipulation 333
- Classes Form and WordArray 338
- Spatial Reference 340
- Class BitBit 349
- Line Drawing 351
- Text Display 354
- Simulation of BitBit 355
- 19 Pens 363
- Class Pen 365
- Geometric Designs 370
- Commander Pen 375
- 20 Display Objects 381
- Class DisplayObject 383
- Class DisplayMedium 390
- Forms 396
- Display Text 400
- Paths 400
- Image Manipulation with Forms 405
- Part 3
- 21 The Implementation 417
- The Compiler 418
- The Interpreter 426
- The Object Memory 440
- The Hardware and Additional System Classes 442
- 22 Probability Distributions 443
- Probability Distribution Framework 444
- Discrete Probability Distributions 449
- Continuous Probability Distributions 458
- 23 Event-Driven Simulations 465
- A Framework for Simulations 468
- Implementation of the Simulation Classes 478
- 24 Statistics Gathering in Event-Driven Simulations 491
- Duration Statistics 492
- Throughput Histograms 495
- Tallying Events 500
- Event Monitoring 502
- 25 The Use of Resources in Event-Driven Simulations 509
- Implementing ResourceProvider and WaitingSimulationObject 510
- Consumable Resources 515
- Nonconsumable Resources 518
- Renewable Resources 529
- 26 Coordinated Resources for Event-Driven Simulations 541
- The Implementation of Class ResourceCoordinator 542
- Example A Car Wash Simulation 544
- Example A Ferry Service for a Special Truck 547
- Example A Bank 552
- Example An Information System 559
- System Index 579
- Example Class Index 583.
- Notes:
- Includes indexes.
- ISBN:
- 0201136880
- OCLC:
- 18982239
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.