Practical Parsing with Perl6::Rules
Damian Conway, Thoughtstream
Date: Tuesday, July 27
Time: 8:45am - 12:15pm
Location: Salon D
This half-day tutorial will show you how to use the new
pattern-matching and grammar features of Perl 6...in Perl 5.
The first half of the course explains the new regular
expression syntax, demonstrating how to convert real-world
Perl 5 regexes to Perl 6 syntax, and how to incorporate the
resulting patterns into actual Perl 5 programs (via the new
The second half of the course provides a brief introduction to
grammar-based parsing techniques in Perl 6, with working
examples including: how to process structured expressions
(e.g. search engine queries); how to separate the code and
comments in a C program; how to detect overlapping matches in
DNA sequences; and how parse ambiguous natural language data.
© 2004, O'Reilly Media, Inc.