Raku Fundamentals
eBook - ePub

Raku Fundamentals

A Primer with Examples, Projects, and Case Studies

  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

Raku Fundamentals

A Primer with Examples, Projects, and Case Studies

About this book

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.

    Table of contents

    1. Cover
    2. Front Matter
    3. 1.Ā What Is Raku?
    4. 2.Ā Running Rakudo
    5. 3.Ā Formatting a Sudoku Puzzle
    6. 4.Ā Datetime Conversion for the Command Line
    7. 5.Ā Testing say( )
    8. 6.Ā Silent-Cron: A Cron Wrapper
    9. 7.Ā Stateful Silent-Cron
    10. 8.Ā Review of the Raku Basics
    11. 9.Ā Parsing INI Files Using Regexes and Grammars
    12. 10.Ā A File and Directory Usage Graph
    13. 11.Ā A Unicode Search Tool
    14. 12.Ā Creating a Web Service and Declarative APIs
    15. 13.Ā What’s Next?
    16. Back Matter

    Trusted byĀ 375,005 students

    Access to over 1.5 million titles for a fair monthly price.

    Study more efficiently using our study tools.

    Information

    Publisher
    Apress
    Edition
    2
    Year
    2020
    Print ISBN
    9781484261088
    Subtopic
    Compilers
    eBook ISBN
    9781484261095

    Frequently asked questions

    Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
    No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
    Perlego offers two plans: Essential and Complete
    • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
    • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.5M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
    Both plans are available with monthly, semester, or annual billing cycles.
    We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1.5 million books across 990+ topics, we’ve got you covered! Learn about our mission
    Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
    Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
    Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
    Yes, you can access Raku Fundamentals by Moritz Lenz in PDF and/or ePUB format, as well as other popular books in Computer Science & Compilers. We have over 1.5 million books available in our catalogue for you to explore.