Perl 6 and Parrot Essentials, 2/e (Perl 6 與 Parrot 基礎精要(第二版))

Allison Randal, Dan Sugalski, Leopold Toetsch

  • 出版商: O'Reilly
  • 售價: $1,730
  • 貴賓價: 9.5$1,644
  • 語言: 英文
  • 頁數: 298
  • 裝訂: Paperback
  • ISBN: 059600737X
  • ISBN-13: 9780596007379
  • 相關分類: Perl 程式語言
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

相關主題

商品描述

Description:

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. 

Table of Contents:

Preface

1. Project Overview
     The Birth of Perl 6
     In the Beginning . . .
     The Continuing Mission

2. Project Development
     Language Development
     Parrot Development

3. Design Philosophy
     Linguistic and Cognitive Considerations
     Architectural Considerations

4. Basic Syntax
     Variables
     Operators
     Control Structures

5. Subroutines
     Using Subroutines
     Parameters
     Arguments
     Subroutine Stubs
     Subroutine Scope
     Anonymous Subroutines
     Multi Subroutines
     Curried Subroutines
     Wrapped Subroutines
     Lvalue Subroutines
     Macros

6. Objects
     Using Objects
     Classes
     Roles
     Delegation
     Private and Public
     Subroutines
     Submethods
     Multiple Dispatch

7. Grammars and Rules
     Using Rules
     Building Blocks
     Modifiers
     Built-in Rules
     Backtracking Control
     Hypothetical Variables

8. Parrot Internals
     Core Design Principles
     Parrot's Architecture
     The Interpreter
     I/O, Events, and Threads
     Objects
     Advanced Features
     Conclusion

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

10. Parrot Intermediate Representation
     Statements
     Variables and Constants
     Symbol Operators
     Labels
     Flow Control
     Subroutines
     Methods

11. Parrot Reference
     PASM Opcodes
     PIR Directives
     PIR Instructions
     Parrot Command-Line Options

Index

商品描述(中文翻譯)

描述:


《Perl 6 and Parrot Essentials》第二版是基於多年的Perl經驗編寫而成的,其中包含了對Perl 6核心開發團隊的內部觀察。這本書是對廣受期待的Perl 6主要變革的獨一無二的預覽。這個預覽包括了對Parrot的突破性新發展的簡潔但全面的介紹,Parrot是一個獨立於語言的解釋器引擎,可以執行使用新的Perl 6語言編寫的代碼。Parrot設計成語言無關,可以用於解釋其他動態語言,如Python、Tcl、Ruby,甚至Java。


《Perl 6 and Parrot Essentials》還揭示了語言本身最具革命性的變化——Apocalypse 12關於對象。Apocalypse設計文檔(在“揭示”而不是“世界末日”的意義上)解釋了新Perl 6功能的重大變化,按照O'Reilly的里程碑之作《Programming Perl》的章節編號進行編排。


Apocalypse 12是對面向對象語言的尖端研究的結果,絕對會引起任何嚴肅的Perl程序員的注意。《Perl 6 and Parrot Essentials》還擴展了對Apocalypse 5(正則表達式)和Apocalypse 6(子程序)的介紹。


《Perl 6 and Parrot Essentials》是唯一一本可以追蹤Perl 6漫長但豐富航程的書籍。它揭示了所有將使Perl 6更強大且更易於使用的巧妙發展。


Perl大師和程序員都會依賴這本簡潔但必不可少的書籍,以清晰地了解Perl的未來發展方向,並確保一旦這個重要的新版本Perl發布,他們能夠立即上手。


目錄:

前言

1. 項目概述

     Perl 6的誕生

     一切的開始...

     持續的使命

2. 項目開發

     語言開發

     Parrot開發

3. 設計哲學

     語言和認知考慮

     架構考慮

4. 基本語法

     變量

     運算符

     控制結構

5. 子程序

     使用子程序

     參數

     引數

     子程序存根

     子程序作用域

     匿名子程序

     多重子程序

     柯里化子程序

     封裝子程序

     Lvalue子程序

     宏

6. 對象

     使用對象

     類

     角色

     委託

     私有和公有

     子程序

     子方法

     多重分派

7. 語法和規則

     使用規則

     構建塊

     修飾符

     內置規則

     回溯控制

     假設變量

8. Parrot內部

     核心設計原則

     Parrot的架構

     解釋器

     I/O、事件和線程

     對象

     高級特性

     結論

9. Parrot組合語言