[erlang-questions] Parsing C with leex and yecc

Tony Arcieri tony.arcieri@REDACTED
Tue Jul 20 20:43:27 CEST 2010


On Tue, Jul 20, 2010 at 12:39 PM, Joe Armstrong <erlang@REDACTED> wrote:

> Yes - I've also been playing with my own peg combinator library :-).
> The problem is that LALR(1) parsers can give you pretty good automatic
> error
> diagnostics on faulty input. Peg grammars just fail - period - and you
> have to write
> your own error recovery in the grammar - on the other hand the peg grammar
> is much nicer than the yacc grammar
>

That's been my observation as well, and why I've continued to use leex and
yecc for Reia.

-- 
Tony Arcieri
Medioh! A Kudelski Brand


More information about the erlang-questions mailing list