- ホーム
- > 洋書
- > 英文書
- > Computer / Languages
Full Description
This condensed code and syntax reference book presents the Raku (formerly known as Perl 6) scripting language in a well-organized format designed to be used time and again. It contains an easy-to-read and use guide to Raku for software application development.
Using this book will give you a feel for the language, as well as an introduction to the different features (such as object-oriented programming) that make Raku such a unique language. You won't find any technical jargon, bloated samples, drawn out history lessons, or witty stories in this book. Perl 6 Quick Syntax Reference is packed with useful information and is a must-have for any developer new to Raku.
What You Will Learn
Use Raku expressions and operators
Work with Raku data access and persistent data
Process complex data structures available in Raku
Work with functions, modules, and more
Use Raku classes, roles, and traits
Take advantage of regular expressions and grammars using Raku
Use the Unicode standard to its full extent in your scripts
Who This Book Is For
Those new to Raku who have at least some programming experience in any scripting language.
Contents
1. Running Perl 6
1. In your computer
2. Online
3. Command-line options
2. Getting help
1. IRC channel and other online communities
2. Local community, conferences, workshops, company formation.
3. Literal expressions
4. Expressions and operators
1. Arithmetic.
2. Logic.
5. Building up data: types of data
1. Code
2. Lists and arrays.
3. Hashes and Maps.
4. Sets, bags, mixes.
5. Other data structures.
6. Processing complex data structures
1. Functional programming with Perl 6
2. Loops and when to use them.
3. Decisions
7. Storing data: containers
1. Where a container resides.
2. Contexts.
3. Mutability and immutability.
4. Constants.
5. Itemization and vivification.
6. Assignment and binding.
8. Defining functions
1. Callables and Blocks
2. Signatures and Captures: calling function and return types.
3. Multiple schedule in functions.
4. Terms and operators.
9. Roles and classes
1. Giving roles, using roles, mixing in roles.
2. Creating your own roles; methods and attributes
3. How classes and objects are created in Perl 6.
4. Inheritance in Perl 6 and how it differs from roles.
10. Modules
1. Using them: standard modules
2. Downloading them: the Perl 6 Ecosystem.
11. Errors and how to work with them.
1. Failures and exceptions.
2. Capturing them, dealing with them.
12. Testing your programs.
1. Standard testing modules.
2. Testing best practices.
13. Interacting with the system
1. Running external programs.
2. Input and output
14. Building up a project.
1. Classic project layout and project conventions.
2. Parts of a project, and how to build, test and release it.
15. Grammars and regular expressions.
1. Processing text using regular expressions.
2. Building up text processors using grammars.