3 ms·
> I'm curious why BNF was chosen vs EBNF. He wrote a BNF grammar, but his parser is closer to a handwritten parser for an EBNF grammar. Generally speaking, whe
by cwzwarich 7y ago
> I'm curious why BNF was chosen vs EBNF.
He wrote a BNF grammar, but his parser is closer to a handwritten parser for an EBNF grammar. Generally speaking, when people write recursive descent parsers by hand in a procedural style, they parse sequences directly rather than using a recursive descent following the grammar.