Parsing with Perl 6 Regexes and Grammars

Parsing with Perl 6 Regexes and Grammars
Author :
Publisher : Apress
Total Pages : 211
Release :
ISBN-10 : 9781484232286
ISBN-13 : 1484232283
Rating : 4/5 (283 Downloads)

Book Synopsis Parsing with Perl 6 Regexes and Grammars by : Moritz Lenz

Download or read book Parsing with Perl 6 Regexes and Grammars written by Moritz Lenz and published by Apress. This book was released on 2017-12-04 with total page 211 pages. Available in PDF, EPUB and Kindle. Book excerpt: Write good regexes and parsers with the Perl 6 programming language. You’ll see how regexes are used for searching, parsing, and validation: in particular the grammar extension makes them uniquely suitable for parsing, the main focus of this book. Written by Perl 6 expert Moritz Lenz, a core contributor of Rakudo, Parsing with Perl 6 Regexes and Grammars starts from the very basics of regular expressions, and then explores how they integrate with regular Perl 6 code. Then follows a deeper exploration of how regexes work under the hood and a discussion of common techniques for constructing regexes and exploring the data under scrutiny. Later material goes beyond relatively simple formats to reusable named regexes and grammars, which permit code reuse in grammars, and shows how to write parsers for more involved data formats. Error reporting and case studies wrap up the topic. While regexes allow you to search for patterns in text and validate input, Perl 6 regexes advance that concept: you’ll see how they are easier to read, yet much more powerful, than the traditional "Perl-compatible regular expression". With improved reusability and backtracking control, you will be able to write complete parsers with the help of this book. What You'll Learn Discover the building blocks of Perl 6 regexes Handle regex mechanics and master useful regex techniques Extract data and work with patterns among these use cases Reuse named regexes and other grammars as components or templates Write full parsers, including advanced error reporting and data extraction Learn how to parse nested scopes and indention-based formats Who This Book Is For Those with at least some prior experience with Perl programming, but who may be new to Perl 6 as well as searching and parsing.


Parsing with Perl 6 Regexes and Grammars Related Books

Parsing with Perl 6 Regexes and Grammars
Language: en
Pages: 211
Authors: Moritz Lenz
Categories: Computers
Type: BOOK - Published: 2017-12-04 - Publisher: Apress

DOWNLOAD EBOOK

Write good regexes and parsers with the Perl 6 programming language. You’ll see how regexes are used for searching, parsing, and validation: in particular the
Pro Perl Parsing
Language: en
Pages: 272
Authors: Christopher M. Frenz
Categories: Computers
Type: BOOK - Published: 2008-11-01 - Publisher: Apress

DOWNLOAD EBOOK

* The first book focused solely on data parsing, a task commonly deemed Perl’s greatest strength * Couples an introduction to data parsing concepts and techni
Perl 6 Fundamentals
Language: en
Pages: 151
Authors: Moritz Lenz
Categories: Computers
Type: BOOK - Published: 2017-07-19 - Publisher: Apress

DOWNLOAD EBOOK

Gain the skills to begin developing Perl 6 applications from the ground up in this hands-on compact book, which includes a foreword from Larry Wall, creator of
Pro Perl Parsing
Language: en
Pages: 260
Authors: Christopher M. Frenz
Categories: Computers
Type: BOOK - Published: 2006-11-07 - Publisher: Apress

DOWNLOAD EBOOK

* The first book focused solely on data parsing, a task commonly deemed Perl’s greatest strength * Couples an introduction to data parsing concepts and techni
Think Perl 6
Language: en
Pages: 492
Authors: Laurent Rosenfeld
Categories: Computers
Type: BOOK - Published: 2017-05-08 - Publisher: "O'Reilly Media, Inc."

DOWNLOAD EBOOK

Want to learn how to program and think like a computer scientist? This practical guide gets you started on your programming journey with the help of Perl 6, the