Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Extending a Parse::RecDescent grammar for inline comments

by sundialsvc4 (Abbot)
on Aug 20, 2010 at 19:49 UTC ( #856351=note: print w/replies, xml ) Need Help??


in reply to Extending a Parse::RecDescent grammar for inline comments

There’s only so far that you can go with a recursive-descent parsing solution, and, unfortunately, it isn’t very far at all.   It is not your only alternative, nor is it necessarily the best one if the language that you need to process becomes complicated.   Don't be “in a hurry” to change your approach, of course, but don't be afraid to, either.   If you find your program becoming complicated in structure, just because the language is, that ought to be a warning-flag to you.   Just keep your eyes open and continue to use your best judgment.

  • Comment on Re: Extending a Parse::RecDescent grammar for inline comments

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2023-02-04 01:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (30 votes). Check out past polls.

    Notices?