O'Reilly Open Source Convention
Books Safari Bookshelf Conferences O'Reilly Network

Arrow Home
Arrow Registration
Arrow Speakers
Arrow Keynotes
Arrow Tutorials
Arrow Sessions
Arrow At-a-Glance
Arrow Wiki
Arrow BOFs
Arrow Events
Arrow Exhibitors
Arrow Sponsors
Arrow Hotel/Travel
Arrow Venue Map
Arrow See & Do
Arrow Tips for
Arrow Press
Arrow Mail List



Practical Parsing with Perl6::Rules
Damian Conway, Thoughtstream

Track: Perl
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 Perl6::Rules module).

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.

O'Reilly Home | Privacy Policy

© 2004, O'Reilly Media, Inc.