2 ms·
The problem is this is optimising entirely for the wrong thing. And "killing Yacc" is a pointless exercise if the point is to get traction. What it needs to co
by vidarh 12y ago
The problem is this is optimising entirely for the wrong thing.
And "killing Yacc" is a pointless exercise if the point is to get traction. What it needs to compete with is hand-written recursive descent parsers.
- bmn_ 12y agoPlease explain how you arrive at the conclusion that an Earley parser optimises entirely for the wrong thing. What is the wrong thing? Competing with a manually written parser is easy: Earley parsers are derived from a CFG in standard format, such as ISO EBNF or IETF ABNF. Such a grammar is much easier to reason about than parser in a general programming language such as C.