Raku fundamentals a primer with examples, projects, and case studies

Gain the skills to begin developing Raku applications from the ground up in this hands-on compact book, which includes a foreword from Larry Wall, creator of Perl. You'll learn enough to get started building with Raku, using Raku's gradual typing, handy object orientated features, powerful...

Full description

Bibliographic Details
Main Author: Lenz, Moritz
Format: eBook
Language:English
Published: [United States] Apress 2020
Edition:2nd edition
Series:ITpro collection
Subjects:
Online Access:
Collection: O'Reilly - Collection details see MPG.ReNa
LEADER 06998nmm a2200625 u 4500
001 EB001942240
003 EBX01000000000000001105142
005 00000000000000.0
007 cr|||||||||||||||||||||
008 210123 ||| eng
020 |a 9781484261095 
050 4 |a QA76.76.A65 
100 1 |a Lenz, Moritz 
245 0 0 |a Raku fundamentals  |b a primer with examples, projects, and case studies  |c Moritz Lenz 
250 |a 2nd edition 
260 |a [United States]  |b Apress  |c 2020 
300 |a 193 pages 
505 0 |a Intro -- Table of Contents -- About the Author -- About the Technical Reviewer -- Acknowledgments -- Foreword -- Chapter 1: What Is Raku? -- 1.1 Intended Audience -- 1.2 Perl 5: The Older Sister -- 1.3 Library Availability -- 1.4 Why Should I Use Raku? -- 1.5 Summary -- Chapter 2: Running Rakudo -- 2.1 Installers -- 2.2 Docker -- 2.3 Building from Source -- 2.4 Testing Your Rakudo Star Installation -- 2.5 Documentation -- 2.6 Summary -- Chapter 3: Formatting a Sudoku Puzzle -- 3.1 Making the Sudoku Playable -- 3.2 Shortcuts, Constants, and More Shortcuts -- 3.3 I/O and Other Tragedies 
505 0 |a 6.5.3 Improving Reliability and Timing -- 6.5.4 Installing a Module -- 6.6 Summary -- Chapter 7: Stateful Silent-Cron -- 7.1 Persistent Storage -- 7.2 Developing the Storage Back End -- 7.3 Using the Storage Back End -- 7.4 Room for Expansion -- 7.5 Summary -- Chapter 8: Review of the Raku Basics -- 8.1 Variables and Scoping -- 8.2 Subroutines -- 8.3 Classes and Objects -- 8.4 Concurrency -- 8.5 Outlook -- Chapter 9: Parsing INI Files Using Regexes and Grammars -- 9.1 Regex Basics -- 9.1.1 Character Classes -- 9.1.2 Quantifiers -- 9.1.3 Alternatives -- 9.2 Parsing the INI Primitives 
505 0 |a 3.4 Get Creative! -- 3.5 Summary -- Chapter 4: Datetime Conversion for the Command Line -- 4.1 Libraries to the Rescue -- 4.2 DateTime Formatting -- 4.3 Looking the Other Way -- 4.4 Dealing with Time -- 4.5 Tighten Your Seat Belt -- 4.6 MAIN Magic -- 4.7 Automated Tests -- 4.8 Summary -- Chapter 5: Testing say() -- 5.1 Summary -- Chapter 6: Silent-Cron: A Cron Wrapper -- 6.1 Running Commands Asynchronously -- 6.2 Implementing Timeouts -- 6.3 More on Promises -- 6.4 Possible Extensions -- 6.5 Refactoring and Automated Tests -- 6.5.1 Refactoring -- 6.5.2 Mocking and Testing 
505 0 |a Chapter 11: A Unicode Search Tool -- 11.1 Code Points, Grapheme Clusters, and Bytes -- 11.2 Numbers -- 11.3 Other Unicode Properties -- 11.4 Collation -- 11.5 Summary -- Chapter 12: Creating a Web Service and Declarative APIs -- 12.1 Getting Started with Cro -- 12.2 Expanding the Service -- 12.3 Testing -- 12.4 Adding a Web Page -- 12.5 Declarative APIs -- 12.6 Summary -- Chapter 13: What's Next? -- 13.1 Scaling Your Code Base -- 13.2 Packaging Your Application -- 13.2.1 Packaging As a Traditional Raku Module -- 13.2.2 Deploying with Docker -- 13.2.3 Windows Installers -- 13.3 Closing Thoughts 
505 0 |a Includes bibliographical references 
505 0 |a 9.3 Putting Things Together -- 9.4 Backtracking -- 9.5 Grammars -- 9.6 Extracting Data from the Match -- 9.7 Generating Good Error Messages -- 9.7.1 Failure Is Normal -- 9.7.2 Detecting Harmful Failure -- 9.7.3 Providing Context -- 9.7.4 Shortcuts for Parsing Matching Pairs -- 9.8 Write Your Own Grammars -- 9.9 Summary -- Chapter 10: A File and Directory Usage Graph -- 10.1 Reading File Sizes -- 10.2 Generating a Tree-Map -- 10.3 Flame Graphs -- 10.4 Functional Refactorings -- 10.5 More Language Support for Functional Programming -- 10.6 More Improvements -- 10.7 Explore! -- 10.8 Summary 
653 |a Programming languages (Electronic computers) / fast 
653 |a Logiciels d'application / Développement 
653 |a Computer programming / fast 
653 |a Computers / Programming Languages / General / bisacsh 
653 |a Programming & scripting languages: general / bicssc 
653 |a Perl (Computer program language) / http://id.loc.gov/authorities/subjects/sh95010633 
653 |a Computer programming / software development / bicssc 
653 |a Application software / Development / fast 
653 |a Programming languages (Electronic computers) / http://id.loc.gov/authorities/subjects/sh85107313 
653 |a Open source software / fast 
653 |a Open source software / http://id.loc.gov/authorities/subjects/sh99003437 
653 |a Perl (Langage de programmation) 
653 |a Programmation (Informatique) 
653 |a Computer programming / http://id.loc.gov/authorities/subjects/sh85107310 
653 |a Computers / Programming / General / bisacsh 
653 |a Perl (Computer program language) / fast 
653 |a Logiciels libres 
653 |a Computers / Programming / Open Source / bisacsh 
653 |a computer programming / aat 
653 |a Application software / Development / http://id.loc.gov/authorities/subjects/sh95009362 
041 0 7 |a eng  |2 ISO 639-2 
989 |b OREILLY  |a O'Reilly 
490 0 |a ITpro collection 
500 |a Made available through: Safari, an O'Reilly Media Company 
028 5 0 |a 10.1007/978-1-4842-6109-5 
776 |z 9781484261088 
776 |z 9781484261095 
776 |z 1484261089 
776 |z 1484261097 
856 4 0 |u https://learning.oreilly.com/library/view/~/9781484261095/?ar  |x Verlag  |3 Volltext 
082 0 |a 005.13 
520 |a Gain the skills to begin developing Raku applications from the ground up in this hands-on compact book, which includes a foreword from Larry Wall, creator of Perl. You'll learn enough to get started building with Raku, using Raku's gradual typing, handy object orientated features, powerful parsing capabilities, and human-usable concurrency. This book has been updated to include the latest version of Raku based upon the Perl 6.d major version which includes over 3,400 new commits in its specification. After a short introduction, each chapter develops a small example project, explaining the Raku features used. When the example is done, you'll explore another aspect, such as optimizing further for readability or testing the code. Along the way you'll see Raku basics, such as variables and scoping; subroutines; classes and objects; regexes; and code testing. When you've mastered the basics, Raku Fundamentals moves onto more advanced topics to give you a deeper understanding of the language. You'll learn, amongst other things, how to work with persistent storage, how to generate good error messages, and how to write tricky applications such as a file and directory usage graph and a Unicode search tool. What You Will Learn Get coding with latest version of Raku Work on several hands-on examples and projects Integrate Python libraries into your Raku-based programs Parse INI files using regexes and grammars Build a date-time converter Carry out refactoring and other automated tests Who This Book Is For If you already know one or more programming languages, and want to learn about Raku, then this book is for you