-
Chapter 1 Project Overview
-
The Birth of Perl 6
-
In the Beginning . . .
-
The Continuing Mission
-
-
Chapter 2 Project Development
-
Language Development
-
Parrot Development
-
-
Chapter 3 Design Philosophy
-
Linguistic and Cognitive Considerations
-
Architectural Considerations
-
-
Chapter 4 Basic Syntax
-
Variables
-
Operators
-
Control Structures
-
-
Chapter 5 Subroutines
-
Using Subroutines
-
Parameters
-
Arguments
-
Subroutine Stubs
-
Subroutine Scope
-
Anonymous Subroutines
-
Multi Subroutines
-
Curried Subroutines
-
Wrapped Subroutines
-
Lvalue Subroutines
-
Macros
-
-
Chapter 6 Objects
-
Using Objects
-
Classes
-
Roles
-
Delegation
-
Private and Public
-
Subroutines
-
Submethods
-
Multiple Dispatch
-
-
Chapter 7 Grammars and Rules
-
Using Rules
-
Building Blocks
-
Modifiers
-
Built-in Rules
-
Backtracking Control
-
Hypothetical Variables
-
-
Chapter 8 Parrot Internals
-
Core Design Principles
-
Parrot's Architecture
-
The Interpreter
-
I/O, Events, and Threads
-
Objects
-
Advanced Features
-
Conclusion
-
-
Chapter 9 Parrot Assembly Language
-
Getting Started
-
Basics
-
Working with PMCs
-
Flow Control
-
Stacks and Register Frames
-
Lexicals and Globals
-
Subroutines
-
Exceptions and Exception Handlers
-
Events
-
Threads
-
Loading Bytecode
-
Classes and Objects
-
Writing Tests
-
-
Chapter 10 Parrot Intermediate Representation
-
Statements
-
Variables and Constants
-
Symbol Operators
-
Labels
-
Flow Control
-
Subroutines
-
Methods
-
-
Chapter 11 Parrot Reference
-
PASM Opcodes
-
PIR Directives
-
PIR Instructions
-
Parrot Command-Line Options
-
-
Colophon
- Title:
- Perl 6 and Parrot Essentials, Second Edition
- By:
- Allison Randal, Dan Sugalski, Leopold Tötsch
- Publisher:
- O'Reilly Media
- Formats:
-
- Safari Books Online
- Print Release:
- June 2004
- Pages:
- 304
- Print ISBN:
- 978-0-596-00737-9
- | ISBN 10:
- 0-596-00737-X
Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animal on the cover of Perl 6 and Parrot Essentials, Second Edition, is an aoudad (ammotragus lervia). Commonly known as Barbary sheep, aoudads originated in the arid mountainous regions of northern Africa and have stout, sturdy bodies, standing 30-40 inches at the shoulder and weighing from 65-320 pounds. The aoudad has a bristly reddish-brown coat and is distinguished by a heavy, fringed mane covering its chest and legs. Both males and females have thick, triangular-shaped horns that curve back in a semicircle. A male aoudad's horns can grow up to 2.5 feet.
Aoudads are herbivores and are most active at dawn and dusk, avoiding the desert heat of midday. They will drink water if it is available, but can obtain sufficient moisture from dew and vegetation. Aoudads are incredible jumpers, able to clear 6 feet from a standstill. So well suited are they to their surroundings that newborns have the ability to navigate rocky slopes just hours after birth.
Despite being endangered in their native environment, aoudads are flourishing in the United States. Introduced to western Texas and southern New Mexico in the 1940s, aoudads are now so populous that it is feared that their presence may threaten the native desert bighorn sheep. Aoudads are considered native game in the desert mountains of their adopted home, where the rugged landscape is dotted with ranches catering to recreational hunters. Matt Hutchinson was the production editor for Perl 6 and Parrot Essentials, Second Edition. Octal Publishing, Inc. provided production services. Darren Kelly, Genevieve d'Entremont, and Emily Quill provided quality control.
Ellie Volckhausen designed the cover of this book, based on a series design by Edie Freedman. The cover image is a 19th-century engraving from Animate Creations, Volume II. Maureen McMahon produced the cover layout with QuarkXPress 4.1 using Adobe's ITC Garamond font.
David Futato designed the interior layout. This book was converted by Joe Wizda to FrameMaker 5.5.6 with a format conversion tool created by Erik Ray, Jason McIntosh, Neil Walls, and Mike Sierra that uses Perl and XML technologies. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSans Mono Condensed. The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read using Macromedia FreeHand 9 and Adobe Photoshop 6. This colophon was written by Emily Quill.
