YAPC::ASIA: Higher-Order Parsing techniques for Perl
  • Video is free for view
View_video

One of Perl's most valuable (but least-used) features is the ability to use functions as if they were data: to pass functions as arguments to other functions, and to write functions that construct and return new functions on request. One exciting application of this feature is in the development of parser programs. We can write a few simple parsers, and then a few functions for assembling parsers into more complex parsers. From this tiny code base, about 25 lines, the parsers snowball to programs that perform dazzlingly complex parsing operations.



Tags: YAPC, Lectures, Perl, Conferences

Level: any Date: May 06, 2007 Votes: 0 User: scoundrel  Comments:
 
 

1 Response(s) to this entry

Subscribe to comments with RSS.