Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Reversible parsing (with Parse::RecDescent?)

by cutlass2006 (Pilgrim)
on Mar 16, 2008 at 08:21 UTC ( #674445=note: print w/replies, xml ) Need Help??

in reply to Reversible parsing (with Parse::RecDescent?)

this is not a 'humpty dumpty' operation it is possible .... but I agree with other responses in that it will be difficult to have perfect 'round tripping'.

btw (note: this is unrelated to your problem, just noticed you might be working with XML) have you considered using XML::Descent

  • Comment on Re: Reversible parsing (with Parse::RecDescent?)

Replies are listed 'Best First'.
Re^2: Reversible parsing (with Parse::RecDescent?)
by goibhniu (Hermit) on Mar 17, 2008 at 01:42 UTC

    Thanks for your feedback and suggestions. I checked out XML::Descent; it looks like a descent enough module (pun intended), but deals on the right side of my ascii-art design diagram, which was solved well enough with Data::Serializer and XML::Dumper for now. As I go from proof-of-concept to reality, I'll definitely consider it, thanks.

    #my sig used to say 'I humbly seek wisdom. '. Now it says:
    use strict;
    use warnings;
    I humbly seek wisdom.
Re^2: Reversible parsing (with Parse::RecDescent?)
by Jenda (Abbot) on Mar 17, 2008 at 13:26 UTC
      I built a first iteration of an XSLT lint checker using this module ... in the end I decided to use some other technology but I found the module well built and the concept better then rolling your own in RecDescent when it comes to working with XML. hth, Jim Fuller

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://674445]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2018-06-20 21:26 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (117 votes). Check out past polls.