Perl 6 and Parrot Essentials"O'Reilly Media, Inc.", 2004 - Всего страниц: 279 Distilling many years of Perl experience--including an insiders look at Perl development (the authors are members of the Perl 6 core development team)--Perl 6 and Parrot Essentials, 2nd Edition is an unparalleled preview of major changes in the widely-anticipated Perl 6. This sneak peek of what's coming in Perl includes succinct but thorough coverage of groundbreaking new developments in Parrot--the language-independent interpreter engine that will execute code written in the new Perl 6 language. Designed to be language independent, Parrot can be used to interpret other dynamic languages such as Python, Tcl, Ruby, and even Java. Perl 6 and Parrot Essentials also uncovers the most revolutionary change in the language itself--Apocalypse 12 on objects. The Apocalypse design documents (in the sense of "revealing", not "end-of-the-world") explain significant changes in new Perl 6 features, numbered according to the chapters in O'Reilly's landmark Camel book , Programming Perl. Apocalypse 12 is the result of cutting-edge research in object-oriented languages and is guaranteed to grab the attention of any serious Perl programmer. Perl 6 and Parrot Essentials also includes expanded coverage of Apocalypse 5 (regular expressions) and Apocalypse 6 (subroutines). Perl 6 and Parrot Essentials is the only book available to chart the course of the long but fruitful voyage of Perl 6. It reveals all the ingenious developments that will make Perl 6 more powerful and easier to use. Perl gurus and programmers alike will rely on this slim but essential book for both a clear view of the Perl horizon and to ensure they hit the ground running once this important new version of Perl is released. |
Содержание
Project Overview | 1 |
In the Beginning | 2 |
The Continuing Mission | 3 |
Project Development | 9 |
Parrot Development | 11 |
Design Philosophy | 16 |
Architectural Considerations | 23 |
Basic Syntax | 25 |
The Interpreter | 105 |
IO Events and Threads | 111 |
Objects | 117 |
Advanced Features | 120 |
Conclusion | 124 |
Parrot Assembly Language | 125 |
Basics | 126 |
Working with PMCs | 144 |
Operators | 33 |
Control Structures | 48 |
Subroutines | 58 |
Parameters | 59 |
Arguments | 64 |
Subroutine Stubs | 66 |
Anonymous Subroutines | 68 |
Curried Subroutines | 69 |
Wrapped Subroutines | 70 |
Lvalue Subroutines | 71 |
Objects | 74 |
Classes | 75 |
Roles | 79 |
Delegation | 82 |
Private and Public | 83 |
Subroutines | 84 |
Multiple Dispatch | 85 |
Grammars and Rules | 87 |
Building Blocks | 89 |
Modifiers | 94 |
Builtin Rules | 96 |
Backtracking Control | 97 |
Parrot Internals | 99 |
Parrots Architecture | 100 |
Flow Control | 148 |
Stacks and Register Frames | 151 |
Lexicals and Globals | 155 |
Subroutines | 159 |
Exceptions and Exception Handlers | 168 |
Events | 169 |
Threads | 171 |
Loading Bytecode | 174 |
Classes and Objects | 175 |
Writing Tests | 182 |
Parrot Intermediate Representation | 185 |
Variables and Constants | 186 |
Symbol Operators | 190 |
Labels | 191 |
Flow Control | 192 |
Subroutines | 194 |
Methods | 201 |
Parrot Reference | 203 |
PIR Directives | 250 |
PIR Instructions | 254 |
Parrot CommandLine Options | 258 |
263 | |
Другие издания - Просмотреть все
Часто встречающиеся слова и выражения
allocated anonymous rule Arguments array arrayref assignment attribute bitwise bitwise operators block Boolean branch byte bytecode call stack Chapter character classoffset closure compilation unit control stack coroutine create declared default defined DEST elements event example exception handler execution find_global floating-point Ford Frogstar function getattribute global goto hash Hello implementation inherited integer interpreter invoke P1 iteration keyword label if VAL1 LABEL Jump language lexical scope loop macro match is true metacharacters method call module namespace O'Reilly object offset opcode operator optimizer optional pad stack parameters Parrot assembly language Parrot Intermediate Representation parse parser PASM patch Perl PerlInt PerlString PMC registers pointer push register frames regular expression restore return value scalar scratchpad set I1 subroutine subroutine call substr syntax thread tion Trillian Unicode user stack VAL2 vtable yacc Zaphod