Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

masak (6289)

  (email not shown publicly)

Been programming Perl since 2001. Found Perl 6 somewhere around 2004, and fell in love. Now developing November (a Perl 6 wiki), Druid (a Perl 6 board game), pls (a Perl 6 project installer), GGE (a regex engine), and Yapsi (a Perl 6 implementation). Heavy user of and irregular committer to Rakudo.

Journal of masak (6289)

Wednesday November 25, 2009
10:06 AM

Upcoming: the 7 wonders of the ancient Perl 6 grammar engine

[ #39945 ]

As PGE is successively being replaced and superceded by pmichaud++'s nqp-rx, I find myself stuck in the past, wanting to investigate how regex-based parsing has been done all this time in Rakudo. I became so hung up on it that I started writing my own Perl 6 port of it, and gave a presentation about it at Baltic Perl Workshop.

But somehow, that wasn't enough. I want more. I plan to write a code review of PGE, somewhere around Christmas 2009. But before that, I'd like to blog about the things I've learned looking at the PGE code: about parsing, about parsers, and about regular expressions.

That's why, as soon as this November thing comes to a conclusion, I'll be blogging about "the 7 wonders of the ancient Perl 6 grammar engine". The intended target group is people who feel they could use a comprehensive walk through the internals of a regex parser, thus getting a firmer grip on regular expressions. I figure if I unload all such info in a series of posts, the review itself can focus more on the literary aspects of the PGE source code. Also, the series, about two posts a week, will coincide with my finishing up GGE, the PGE port.

You might ask yourself what the 7 wonders might be. I don't know yet, but I have some ideas already. Those who watched my presentation know I like quantifiers, and readers of this blog know I have a soft spot for OPTable . But we'll see; no need for premature solidification.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.