-
-
01 Aug 2002 17:23:11 UTC
- Distribution: Parse-RecDescent-Deparse
- Module version: 1.00
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (2)
- Testers (592 / 0 / 0)
- Kwalitee
Bus factor: 0- 36.75% Coverage
- License: unknown
- Activity
24 month- Tools
- Download (4.09KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- unknown
- Reverse dependencies
- CPAN Testers List
- Dependency graph
Why not adopt me?
This distribution is up for adoption! If you're interested then please contact the PAUSE module admins via email.NAME
Parse::RecDescent::Deparse - Turn a Parse::RecDescent object back into its grammar
SYNOPSIS
use Parse::RecDescent::Deparse; my $foo = new Parse::RecDescent($grammar); print $foo->deparse;
DESCRIPTION
This module adds the
deparse
method to theParse::RecDescent
class, which returns a textual description of the grammar.Why? There are at least two equally unlikely reasons why this could be useful:
You're working on something which grovels around in the
Parse::RecDescent
object data structure and want to view the effects of your changes. For instance, aParse::RecDescent
optimizer. (This package does not contain a functionalParse::RecDescent
optimizer.)You want to understand how
Parse::RecDescent
does what it does, and fancy the source of this package is a bit more of a gentle introduction than the source ofParse::RecDescent
itself.
BUGS
Parse::RecDescent::Deparse
can correctly deparse the metagrammar forParse::RecDescent
input, so that's a good thing. There are no bugs in theParse::RecDescent
optimizer as it clearly does not exist.AUTHOR
Simon Cozens,
simon@cpan.org
SEE ALSO
Module Install Instructions
To install Parse::RecDescent::Deparse, copy and paste the appropriate command in to your terminal.
cpanm Parse::RecDescent::Deparse
perl -MCPAN -e shell install Parse::RecDescent::Deparse
For more information on module installation, please visit the detailed CPAN module installation guide.