in reply to Re: Book "Pro Perl Parsing"
in thread Book "Pro Perl Parsing"

In general I am attempting to learn techniques of parsing language base files. Well, exactly, I want to extract structure and other information from programs written in 'e' (by Verisity, now Cadence) and vhdl. Seeing that I don't really know much about the subject I noticed this book and though, wow, just what I needed. What do you do, crush my hopes and aspirations. Now what am I going to do, shuffle off this mortal coil;) Do you have any suggestions for good information sources? My real problem is that I don't really know much about what is required to parse (extract information) a real language. thanks Brian

Replies are listed 'Best First'.
Re^3: Book "Pro Perl Parsing"
by Not_a_Number (Prior) on Jan 14, 2009 at 20:05 UTC

    Don't despair! A quick CPAN search for 'vhdl' yields Hardware::Vhdl::Lexer, which, even if it doesn't do quite what you want, might provide some useful pointers if you look at the source code.

    BTW, I read 'Pro Perl Parsing' some time ago, and it didn't leave any lasting impression on me (other than the fact that it was the first Perl book that I had read with absolutely no humour in it!)

Re^3: Book "Pro Perl Parsing"
by brian42miller (Sexton) on Jan 14, 2009 at 20:20 UTC
    Yes, I had seen the VHDL parser. It is the 'e' language (by Verisity, now Cadence) that is really my problem. Is there any way to know if the module has been abandon, besides looking at the bug reports? Thanks