Perl 6 Essentials

Front Cover
"O'Reilly Media, Inc.", 2003 - Computers - 195 pages

Perl 6 Essentials is a sneak-preview of Perl 6, the widely-anticipated rewrite of the Perl programming language. Still in development, the Perl 6 project is a community-based effort to keep Perl vibrant well into the 21st century. This book covers the development not only of Perl 6 syntax but also Parrot, the language-independent interpreter developed as part of the Perl 6 design strategy.

Although Perl remains a vibrant language with a fiercely loyal following, it has undergone many changes to keep up with new technologies and applications that were not anticipated when Perl was first introduced in 1987. Through its community-based development model, Perl has kept up with changing times and remained fresh when other languages might have stagnated.

Internally, however, there have remained kinks and stumbling blocks that developers have needed to sidestep, long-abandoned features that have been maintained only for backwards compatibility, misdirected phrasings that have hindered more intuitive syntax structures, and a cacophony of modules that sometimes work well together, but occasionally don't. Perl continues to have a strong following devoted to its development, but in the meantime, a group of core Perl developers have begun working on Perl 6, a complete rewrite of the Perl language. While Perl's creative philosophy and common-sense syntax are sure to remain in Perl 6, everything else in the language is being re-examined and recreated.

Perl 6 Essentials provides an overview of the current state of Perl 6 for those who await its release. Written by members of the Perl 6 core development team, the book offers an explanation of the various stages of the project, with reference material for programmers who are interested in what changes are planned or who may want to contribute to the project. The book will satisfy their curiosity and show how changes in the language will make it more powerful and easier to use.

Perl 6 Essentials is the first book that offers a peek into the next major version of the Perl language. This book is essential reading for anyone interested in the future of Perl.

 

What people are saying - Write a review

We haven't found any reviews in the usual places.

Selected pages

Contents

Project Overview
1
In the Beginning
2
The Continuing Mission
3
Project Development
9
Parrot Development
11
Design Philosophy
16
Architectural Considerations
23
Syntax
25
Conclusion
93
Parrot Assembly Language
94
Basics
95
Working with PMCs
111
Flow Control
115
Stacks and Register Frames
118
Lexicals and Globals
121
Subroutines
124

Operators
32
Control Structures
46
Subroutines
53
Classes and Objects
58
Grammars and Rules
61
Parrot Internals
70
Parrots Architecture
71
The Interpreter
76
IO Events Signals and Threads
81
Objects
87
Advanced Features
89
Writing Tests
133
PASM Quick Reference
134
The Intermediate Code Compiler
158
Basics
159
Flow Control
169
Subroutines
171
IMCC CommandLine Options
176
IMCC Quick Reference
179
Index
187
Copyright

Other editions - View all

Common terms and phrases

About the author (2003)

Allison Randal is the assistant project manager of the Perl 6 core development team. She has been working closely with Damian Conway and Larry Wall on Perl 6 and has co written the "synopses" of Perl 6. She is dedicated to the success of the project and is one of the very first to learn about anything new that's proposed for Perl 6.

Dan Sugalski is the chief architect for Parrot, the interpreter engine for Perl 6. He's been a Perl 5 core developer for years, writing more than a dozen modules in the process. He's been a contributor to The Perl Journal and The Perl Review, as well as the O'Reilly Network.

Leopold Totsch hails from Austria where he first started working with computers in 1976. He is an independent software developer who has been exploring and developing open source software since 1991. He's a frequent contributor to isdnlog (an open source project for monitoring ISDN lines and optimizing telephone costs) and spends the majority of his free time working on Parrot, the language-independent interpreter developed as part of the Perl 6 design strategy. Leopold T tsch is the pumpking for Parrot.

Bibliographic information