parser using perl



Hi,

I am trying to extract information from a file that follows the syntax
of a high level language (something like C++)
The script just needs to understand a very minuscule portion of this
language to do this. It does not have to
know the complete high level language. I just wanted to know any
modules are available within perl that makes
this job easier. I feel it is possible to do the complete work in
perl, but I might be wrong. Especially around the
recursion that languages support. The other option I have is to use a
public domain parser like Bison and parse
the input, build some data structure that perl can lookup and do the processing.

I would like to know experience of people on this forum ...

Regards
.



Relevant Pages

  • Re: Array generation
    ... As I mentioned before, my Perl knowledge ... level programming languages, as all my previous programming has been ... nicities that make Perl a high level language (this relates to my ... for my current project because it let me get down to writing algorithms ...
    (comp.lang.perl.misc)
  • Re: file locking question
    ... > new server is a web based perl program consisting of about 50 files. ... > there are a number of lines that contain syntax like this: ... > So I set about writing a sed script to make all the changes, ...
    (comp.lang.perl.misc)
  • Re: file locking question
    ... let me say I am fairly certain I have apache and perl set up ... to find anything in google on "can't modify string in lock", ... >> there are a number of lines that contain syntax like this: ... >> So I set about writing a sed script to make all the changes, ...
    (comp.lang.perl.misc)
  • RE: Query in Perl Programming
    ... syntax OK ... I bet you ran that against the script you have on your computer and ... Fix that and I will tell you how to the fix the rest ... Subject: Query in Perl Programming ...
    (perl.beginners)
  • Re: script
    ... A batch file is a script, but scripts are necessarily batch files. ... infers a high level language to perform a series of functions or routines. ...
    (microsoft.public.win2000.general)