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

Allison Randal, Dan Sugalski, Leopold Toetsch

  • 出版商: O'Reilly
  • 售價: $1,750
  • 貴賓價: 9.5$1,663
  • 語言: 英文
  • 頁數: 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 和 Parrot 基礎知識》第2版提煉了多年來的 Perl 經驗,包括對 Perl 開發的內部觀察(作者是 Perl 6 核心開發團隊的成員),這本書是對廣受期待的 Perl 6 重大變化的無與倫比的預覽。這本書對即將到來的 Perl 進行了簡明而全面的介紹,涵蓋了 Parrot 的開創性新發展——這是一個語言獨立的解釋器引擎,將執行用新 Perl 6 語言編寫的代碼。Parrot 設計為語言獨立,可以用來解釋其他動態語言,如 Python、Tcl、Ruby,甚至 Java。

《Perl 6 和 Parrot 基礎知識》還揭示了語言本身最具革命性的變化——關於物件的 Apocalypse 12。Apocalypse 設計文檔(在此意義上是“揭示”,而非“世界末日”)解釋了新 Perl 6 特性的重大變化,這些變化根據 O'Reilly 的里程碑式著作《Programming Perl》中的章節編號。

Apocalypse 12 是對物件導向語言前沿研究的結果,保證能吸引任何認真 Perl 程式設計師的注意。《Perl 6 和 Parrot 基礎知識》還擴展了對 Apocalypse 5(正則表達式)和 Apocalypse 6(子例程)的介紹。

《Perl 6 和 Parrot 基礎知識》是唯一一本能夠描繪 Perl 6 漫長而富有成果的航程的書籍。它揭示了所有巧妙的發展,將使 Perl 6 更加強大且易於使用。

Perl 大師和程式設計師都將依賴這本簡明但必不可少的書籍,以清晰地了解 Perl 的未來,並確保在這個重要的新版本 Perl 發布後能夠迅速上手。


目錄:

前言

1. 專案概述

     Perl 6 的誕生

     在開始之初 . . .

     持續的使命

2. 專案開發

     語言開發

     Parrot 開發

3. 設計哲學

     語言學和認知考量

     架構考量

4. 基本語法

     變數

     運算符

     控制結構

5. 子例程

     使用子例程

     參數

     引數

     子例程存根

     子例程範圍

     匿名子例程

     多重子例程

     柯里化子例程

     包裝子例程

     左值子例程

     巨集

6. 物件

     使用物件

     類別

     角色

     委派

     私有與公有

     子例程

     子方法

     多重派發

7. 語法與規則

     使用規則

     構建塊

     修飾符

     內建規則

     回溯控制

     假設變數

8. Parrot 內部

     核心設計原則

     Parrot 的架構

     解釋器

     I/O、事件與執行緒

     物件

     進階特性

     結論

9. Parrot 組合語言

     入門

     基礎

     與 PMC 一起工作

     流程控制

     堆疊與寄存器框架

     詞法變數與全域變數

     子例程

     例外與例外處理器

     事件

     執行緒

     載入位元組碼

     類別與物件

     編寫測試

10. Parrot 中介表示

     語句

     變數與常數

     符號運算符

     標籤

     流程控制

     子例程

     方法

11. Parrot 參考

     PASM 操作碼

     PIR 指令

     PIR 指令集

     Parrot 命令列選項

索引