Parsing with Perl 6 Regexes and Grammars A Recursive Descent into Parsing /

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 contrib...

Full description

Bibliographic Details
Main Author: Lenz, Moritz (Author)
Corporate Author: SpringerLink (Online service)
Format: Electronic eBook
Language:English
Published: Berkeley, CA : Apress : Imprint: Apress, 2017.
Subjects:
Online Access:Full Text via HEAL-Link
LEADER 03673nam a22004815i 4500
001 978-1-4842-3228-6
003 DE-He213
005 20180123141214.0
007 cr nn 008mamaa
008 171204s2017 xxu| s |||| 0|eng d
020 |a 9781484232286  |9 978-1-4842-3228-6 
024 7 |a 10.1007/978-1-4842-3228-6  |2 doi 
040 |d GrThAP 
050 4 |a QA76.7-76.73 
050 4 |a QA76.76.C65 
072 7 |a UMX  |2 bicssc 
072 7 |a UMC  |2 bicssc 
072 7 |a COM051010  |2 bisacsh 
072 7 |a COM010000  |2 bisacsh 
082 0 4 |a 005.13  |2 23 
100 1 |a Lenz, Moritz.  |e author. 
245 1 0 |a Parsing with Perl 6 Regexes and Grammars  |h [electronic resource] :  |b A Recursive Descent into Parsing /  |c by Moritz Lenz. 
264 1 |a Berkeley, CA :  |b Apress :  |b Imprint: Apress,  |c 2017. 
300 |a XIV, 201 p. 12 illus., 4 illus. in color.  |b online resource. 
336 |a text  |b txt  |2 rdacontent 
337 |a computer  |b c  |2 rdamedia 
338 |a online resource  |b cr  |2 rdacarrier 
347 |a text file  |b PDF  |2 rda 
505 0 |a 1. What are Regexes and Grammars? -- 2. Getting Started with Perl 6 -- 3. Building Blocks of Regexes -- 4. Regexes and Perl 6 Code -- 5. Extracting Data from Regex Matches -- 6. Regex Mechanics -- 7. Regex Techniques -- 8. Reusing and Composing Regexes -- 9. Parsing With Grammars -- 10. Extracting Data From Matches -- 11. Generating Good Parse Error Messages -- 12. Unicode and Natural Language -- 13. Case Studies. 
520 |a 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. You will: 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. 
650 0 |a Computer science. 
650 0 |a Computer programming. 
650 0 |a Programming languages (Electronic computers). 
650 1 4 |a Computer Science. 
650 2 4 |a Programming Languages, Compilers, Interpreters. 
650 2 4 |a Programming Techniques. 
650 2 4 |a Open Source. 
710 2 |a SpringerLink (Online service) 
773 0 |t Springer eBooks 
776 0 8 |i Printed edition:  |z 9781484232279 
856 4 0 |u http://dx.doi.org/10.1007/978-1-4842-3228-6  |z Full Text via HEAL-Link 
912 |a ZDB-2-CWD 
950 |a Professional and Applied Computing (Springer-12059)