in reply to Creating parser for some syntax

I admit that I only made it through about three paragraphs before I stopped in confusion and said ... “Parse::RecDescent.”

Any parser gives you the capability of processing an arbitrarily complex (if well-defined) input stream, using what is not an excessively-obfuscatory program.   (The voodoo magic is in the parser itself, but you don’t have to look at that.)

So I guess I’m saying (and, mind you, I am saying it very politely), is:   “I don’t get it.   What is your point?   None of this is ‘the undiscovered country.’   There are plenty of parsers out there.   Plenty of good ones.   Nothing to invent here ... move along ... move along ...”

Replies are listed 'Best First'.
Re^2: Creating parser for some syntax
by andal (Hermit) on Nov 16, 2011 at 08:54 UTC

    I don't doubt that there are existing libraries and modules that allow one to create some parser. The question is always "how suitable are those libraries for my needs?". After struggling through documentation for few libraries just to find out that they don't completely fit, I came to conclusion that it is simpler to create my own parser. So if you like it, in my post I was trying to say that creating a parser is not very hard and in certain cases it makes no sense to waste your time on understanding how some existing parsers work, it is better to use it for creating the parser that perfectly suits your needs.

    I hope this clarifies your confusion :)