O'Reilly Open Source Software  Convention
O'Reilly HomeO'Reilly Network

Arrow Home
Arrow Hotel/Travel
Arrow Tutorials
Arrow Sessions and Presentation Files
Arrow BOFs
Arrow Evening Events
Arrow Speakers
Arrow Press
Arrow Mail List
Arrow Exhibitors
Arrow Sponsors

Innovate  – Collaborate  – Discover
O'Reilly Open Source Software Convention

July 17-20, 2000 in Monterey, California

Join our mailing list to receive the latest information on the 2001 O'Reilly Open Source Software Convention.

Parse::Vipar: An IDE for Writing Parsers
Speaker: Steve Fink
Track: Perl - Prototype ()
Date: 07/20/2000
Time: 10:45am - 11:15pm
Location: De Anza III

Download presentation file(s)

Parse::Vipar is a graphical tool for developing, debugging, and understanding LALR parsers. It is integrated with Parse::Gen, a new Perl-only extended LALR parser generator (similar to Parse::Yapp) that can generate either standalone C or Perl parsers. This talk demonstrates the tool, using it to pinpoint shift/reduce and reduce/reduce conflicts, generate sample token streams that illustrate how the parser arrives at incorrect states, visually step forward and backward through parses to ease debugging, and show the "why" feature which uses Parse::Gen's complete LALR parser engine to explain why the parser performed a given action. Finally, Steve will display the perl5 grammar in Parse::Vipar and show how Parse::Gen can be used to generate perly c without relying on an outdated version of byacc and a set of diffs, as is currently done. This will make it easier to update and maintain Perl's own parser.

O'Reilly Home | Conferences Home | Open Source Convention Home
Register | Hotel | Tutorials | Sessions | BOFs | Speakers
Press | Mail List | Exhibitors/Sponsors

© 2000, O'Reilly Media, Inc.