Perl 6 regexes and grammars

Perl 6 regexes and grammars

By Patrick Michaud (‎Pm‎) from DFW.pm
Date: Monday, June 22, 2009 01:55 PM
Duration: 50 minutes
Target audience: Any
Language:
Tags: compiler grammars parrot perl6 pge rakudo regexes toolkit

You can find more information on the speaker's site:


One of the coolest features of Perl 6 is its regular expression syntax, which not only does traditional pattern matching but is also expressive enough to support grammars and advanced parsing. Indeed, it's the core for writing parsers with the Parrot Compiler Toolkit.

This talk provides an exploration of Perl 6 regular expressions. It describes how they are currently used in Rakudo Perl and Parrot, and how they may be used to write parsers and as the foundation for more advanced data translations.

Topics include:

* Basic regular expression syntax
* Named subrules and captures
* Regexes, tokens, and rules
* Creating grammars
* Attaching actions to regexes
* Processing parse trees

The presentation will include numerous examples that work today in Rakudo Perl.


Attended by: Brock Wilcox (‎awwaiid‎), Lee Aylward (‎leedo‎), Patrick Michaud (‎Pm‎), Dagfinn Ilmari MannsÃ¥ker (‎ilmari‎), Elliot Shank, Shana Andreychek, Joshua Gatcomb, Darian Patrick (‎dapatrick‎), Todd Presta, Lawrence Hixson (‎Larry‎), Ryan Kelly (‎f0rk‎), Marcus Del Greco, Karsten Dahms, Jaldhar Vyas (‎jaldhar‎), Patrick Mclaughlin, Sean McCune (‎pghcoder‎), Robert Boone (‎rlb3‎), Paul Lalli (‎MrItty‎),