Raku Fundamentals : A Primer with Examples, Projects, and Case Studies /: A Primer with Examples, Projects, and Case Studies. (2020)
- Record Type:
- Book
- Title:
- Raku Fundamentals : A Primer with Examples, Projects, and Case Studies /: A Primer with Examples, Projects, and Case Studies. (2020)
- Main Title:
- Raku Fundamentals : A Primer with Examples, Projects, and Case Studies
- Further Information:
- Note: Lenz, Moritz.
- Authors:
- Lenz, Moritz
- Other Names:
- Safari, an O'Reilly Media Company.
- Contents:
- 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 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 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 ScopingIntro -- 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 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 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 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 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 … (more)
- Edition:
- 2nd edition
- Publisher Details:
- Place of publication not identified : Apress
- Publication Date:
- 2020
- Extent:
- 1 online resource (193 pages)
- Subjects:
- 005.13
Programming languages (Electronic computers)
Computer programming
Open source software
Programming Languages, Compilers, Interpreters
Programming Techniques
Open Source
Electronic books
Electronic books - Languages:
- English
- ISBNs:
- 1484261097
9781484261095 - Related ISBNs:
- 9781484261095
- Notes:
- Note: Online resource; Title from title page (viewed September 5, 2020)
- Access Rights:
- Legal Deposit; Only available on premises controlled by the deposit library and to one user at any one time; The Legal Deposit Libraries (Non-Print Works) Regulations (UK).
- Access Usage:
- Restricted: Printing from this resource is governed by The Legal Deposit Libraries (Non-Print Works) Regulations (UK) and UK copyright law currently in force.
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library HMNTS - ELD.DS.550445
- Ingest File:
- 03_168.xml