http://qs1969.pair.com?node_id=666827

zer has asked for the wisdom of the Perl Monks concerning the following question:

Good Evening

I am attempting to write a program which perform more complex diff's of a certain file type. The file holds a syntax which i would like to parse similar to XML::Parse's tree view.

This is the code im looking to parse. It is just a snippit but it should be enough
(object Attribute tool "VC++" name "default__Module-Spec" value (list Attribute_Set (object Attribute tool "VC++" name "InternalMap" value (value Text |*:AUTO:AUTO | )) (object Attribute tool "VC++" name "ExportMap" value (value Text |*:AUTO:AUTO | )) (object Attribute tool "VC++" name "InitialSourceIncludes" value (value Text |"stdafx.h" )) (object Attribute tool "VC++" name "InitialHeaderIncludes" value (value Text "")) (object Attribute tool "VC++" name "Copyright" value (value Text "Copyright (C) 1991 - 1999 Rati +onal Software Corporation")) (object Attribute tool "VC++" name "KindSet" value (list Attribute_Set (object Attribute tool "VC++" name "(none)" value 300) (object Attribute tool "VC++" name "DLL" value 301) (object Attribute tool "VC++" name "EXE" value 302) (object Attribute tool "VC++" name "MIDL" value 303))) (object Attribute tool "VC++" name "Kind" value ("KindSet" 300)) (object Attribute tool "VC++" name "BodyExtensions" value (value Text |.cpp |.cxx |.inl )) (object Attribute tool "VC++" name "HeaderExtensions" value (value Text |.h |.hpp |.hxx |inl )) (object Attribute tool "VC++" name "ProjectFolders" value (value Text |Source Files |Header Files )) (object Attribute tool "VC++" name "UsePathMap" value FALSE)))

Any help is appreciated. Esp if someone could identify what this pattern is called, or a module that will help me parse it. It looks lisp ish and even python esq but im not a pro in either of those languages so i may be totaly off.

Thank You