TAILIEUCHUNG - The Art of the Metaobject Protocol- P1

The Art of the Metaobject Protocol- P1: The work described here is synthetic in nature, bringing together techniques and insights from several branches of computer. | The Art of the Metaobject Protocol Gregor Kiczales Jim des Rivières and Daniel G. Bobrow The MIT Press Cambridge Massachusetts London England Contents Introduction 1 I THE DESIGN AND IMPLEMENTATION OF METAOBJECT PROTOCOLS 1 How CLOS is Implemented 13 A Subset of CLOS 14 The Basic Backstage Structures 15 Representing Classes 17 Printing Objects 26 Representing the Structure of Instances 26 Representing Generic Functions 34 Representing Methods 36 Invoking Generic Functions 40 A Word About Performance 45 Summary 45 2 Introspection and Analysis 47 Introducing Class Metaobjects 48 Browsing Classes 52 Browsing Generic Functions 58 Programmatic Creation of New Classes 66 Summary 69 3 Extending the Language 71 Specialized Class Metaobjects 72 Terminology 74 Using Specialized Class Metaobject Classes 76 Class Precedence Lists 78 Slot Inheritance 83 Other Inheritance Protocols 90 Slot Access 96 vi Contents Instance Allocation 99 Summary 105 4 Protocol Design 107 A Simple Generic Function Invocation Protocol 107 Functional and Procedural Protocols 110 Layered Protocols 119 Improving Performance 125 Protocol Design Summary 131 II A METAOBJECT PROTOCOL FOR CLOS 5 Concepts 137 Introduction 137 Metaobjects 137 Inheritance Structure of Metaobject Classes 140 Processing of the User Interface Macros 145 Subprotocols 153 6 Generic Functions and Methods 163 A Introduction to CLOS 243 B Solutions to Selected Exercises 255 C Living with Circularity 269 D A Working Closette Implementation 277 E Cross Reference to Full MOP 317 References 325 Index .

Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.