in reply to Re: Yacc is dead
in thread Yacc is dead
The problem is in the people in the use of cut and paste imitation and copying “magic” regular expressions without fully understanding them. You must understand what you are doing.
In fact I am not so sure about the goodness of the algorithm proposed in "The Yacc is dead" paper.
According to Russ analysis, the proposed algorithm - due to backtracking - fails to guarantee the required efficiency. He said:
'Instead of ending the supposed problem of cargo cult parsing, the paper ends up being a prime example of what Richard Feynman called “cargo cult science” ... in which a successful line of research is imitated but without some key aspect that made the original succeed'
There is nothing bad in using regular expressions to parse context free languages. I do it. My concern is about the lack of some important parsing algorithms in CPAN, like GLR.
I am sure also that yacc is not dead (yet). "The asteroid to kill this dinosaur is still in orbit.”
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Yacc is dead
by JavaFan (Canon) on Dec 09, 2010 at 00:36 UTC |