Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Block-structured language parsing using a Perl module?

by thargas (Deacon)
on Aug 16, 2012 at 17:43 UTC ( #987843=note: print w/ replies, xml ) Need Help??


in reply to Block-structured language parsing using a Perl module?

The Damian's "Advanced Perl Parsing" (see http://www.csse.monash.edu.au/~damian/Perl/DPW/AdvancedPerlParsing.pdf) gives a topic "Nearly Parsing Perl" which sounds like it might be a serious enough example. You don't say which ones you've tried.


Comment on Re: Block-structured language parsing using a Perl module?
Re^2: Block-structured language parsing using a Perl module?
by Anonymous Monk on Aug 16, 2012 at 18:18 UTC
Re^2: Block-structured language parsing using a Perl module?
by BrowserUk (Pope) on Aug 16, 2012 at 20:35 UTC

    Thanks for the link. I've pulled the pdf and will give it a read over the next few days.

    Though I do so with a great deal of skeptisism. P::RD (used to?) commits every one of my cardinal sins:

    1. horrible API;
    2. lousy documentation;
    3. useless diagnostics;
    4. glacial performance;

    Maybe Regexp::Grammars does better, but on a cursory inspection, I do not hold out much hope :(


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    The start of some sanity?

      I don't know a lot about it. I did have to deal with it once in a program which took commands in an sql-like syntax and we had it pre-compile the the grammar and save it instead of compiling it on each load, which did make a difference IIRC. It was a while ago.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://987843]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (11)
As of 2014-12-22 22:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (132 votes), past polls