Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

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

by thargas (Deacon)
on Aug 16, 2012 at 17:43 UTC ( [id://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?

Replies are listed 'Best First'.
Re^2: Block-structured language parsing using a Perl module?
by BrowserUk (Patriarch) 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.
Re^2: Block-structured language parsing using a Perl module?
by Anonymous Monk on Aug 16, 2012 at 18:18 UTC

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (5)
As of 2024-04-19 12:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found