A Recursive Descent into Parsing
Buch, Englisch, 201 Seiten, Format (B × H): 155 mm x 235 mm, Gewicht: 341 g
ISBN: 978-1-4842-3227-9
Verlag: Apress
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.
Zielgruppe
Professional/practitioner
Autoren/Hrsg.
Fachgebiete
- Mathematik | Informatik EDV | Informatik Betriebssysteme Linux Betriebssysteme, Open Source Betriebssysteme
- Mathematik | Informatik EDV | Informatik Programmierung | Softwareentwicklung Programmier- und Skriptsprachen
- Mathematik | Informatik EDV | Informatik Programmierung | Softwareentwicklung Programmierung: Methoden und Allgemeines
Weitere Infos & Material
1. What are Regexes and Grammars?2. Getting Started with Perl 63. Building Blocks of Regexes4. Regexes and Perl 6 Code5. Extracting Data from Regex Matches6. Regex Mechanics7. Regex Techniques8. Reusing and Composing Regexes9. Parsing With Grammars10. Extracting Data From Matches11. Generating Good Parse Error Messages12. Unicode and Natural Language13. Case Studies




