Let's keep those RSVPs coming ...
On Sun, May 12, 2013 at 11:03 PM, Bill Ricker <[email protected]> wrote: > GREG LONDON, re-writing and using parse::gnaw > > Location MIT E51-376 > (MITDirections<http://boston.pm.org/kwiki/index.cgi?MITDirections> > ) > > Talk begins at 7:30. Refreshments in the hallway prior, gather 7ish > > *note* back in room E51-37*6* this term. > > > -- bill > ------------------------------ > > > please RSVP for refreshments. > > > > Our WIKI http://boston.pm.org/kwiki/ > > > > * Tech Meetings are held on the 2nd Tuesday of every month at MIT > > (directions http://boston.pm.org/kwiki/index.cgi?MITDirections ). > > o NOTE - Sometimes the lot has filled early, overflow is to > > Hayward lots (avoid MEDICAL RESERVED spaces!). See alternatives > > http://boston.pm.org/kwiki/index.cgi?MITDirections > > RSVP for count encouraged but not required, to > > [email protected]<[email protected]> > > or Boston-PM list, by 3pm Tuesday. > > > ---------- Forwarded message ---------- > >> From: Greg London <[email protected]> >> Date: Thu, May 9, 2013 at 11:38 PM >> Subject: [Boston.pm] parse::gnaw 0.600 >> To: [email protected] >> >> >> Hello, >> >> Well I finally got something uploaded to cpan for next meeting. >> >> Tuesday, May 14, 2013, MIT E51-376 7pm-10pm >> >> It's rev 0.600 of my parser module Parse::Gnaw >> >> >> http://www.cpan.org/authors/id/G/GS/GSLONDON/ >> >> Parse-Gnaw-0.600.tar.gz >> >> >> It is a revamping of the module. The previous version had >> some issues like blowing up on recursive grammars. >> >> Version 0.600 solves this problem by rearchitecting the code. >> >> A cool new feature of the module: >> >> parsing multi-dimensional text blocks, not just one dimensional text. >> >> The following test creates a 2-D block of text and matches/doesn't match >> patterns inside teh block. >> >> >> >> rule('abgl', 'a','b','g','l'); >> rule('abcl', 'a','b','c','l'); >> rule('afkp', 'a','f','k','p'); >> rule('afki', 'a','f','k','i'); >> >> >> # we're going to construct a basic 2-dimensional string linked list to >> parse >> # but we're not going to run a grammar on it. >> # we're just going to see that the 2D linked list got created correctly. >> >> my $raw_2d_string=<<'RAWSTRING'; >> abcd >> efgh >> ijkl >> mnop >> RAWSTRING >> >> my >> $string1=Parse::Gnaw::LinkedListDimensions2->new(string=>$raw_2d_string); >> my >> $string2=Parse::Gnaw::LinkedListDimensions2->new(string=>$raw_2d_string); >> my >> $string3=Parse::Gnaw::LinkedListDimensions2->new(string=>$raw_2d_string); >> my >> $string4=Parse::Gnaw::LinkedListDimensions2->new(string=>$raw_2d_string); >> >> >> >> ok( $string1->parse('abgl'), "parse 2d string with abgl rule"); >> ok(not($string2->parse('abcl')), "parse 2d string with abcl rule"); >> ok( $string3->parse('afkp'), "parse 2d string with afkp rule"); >> ok(not($string4->parse('afki')), "parse 2d string with afki rule"); >> > > > -- Bill @n1vux [email protected] _______________________________________________ Boston-pm mailing list [email protected] http://mail.pm.org/mailman/listinfo/boston-pm

